Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

HowToGalaxy

Learn galaxy modeling and Bayesian inference through worked examples with PyAutoGalaxy. HowToGalaxy starts from first principles and guides you from building a galaxy light profile to fitting observations and modeling complex galaxy structures.

You don’t need prior experience with galaxy modeling or Bayesian statistics. If you already know the fundamentals, head to the PyAutoGalaxy workspace for concise examples.

Getting Started

Explore It Yourself

  • Start in your browser — open the series introduction in Google Colab without installing anything locally.
  • Run it locally — install PyAutoGalaxy, download this repository and open the Jupyter notebooks in notebooks/.
  • Read Chapter 1 with images — browse the available lectures and their results directly on GitHub.

Begin with Tutorial 0: Visualization to check your setup and learn how to display figures.

Study with AI

The PyAutoGalaxy AI Assistant can explain concepts, equations and code, help with notebook errors, and discuss your results. Paste this prompt into your AI coding agent:

I want to work through HowToGalaxy
(https://github.com/PyAutoLabs/HowToGalaxy) with the
PyAutoGalaxy Assistant (https://github.com/PyAutoLabs/autogalaxy_assistant).

First clone the assistant repository, cd into it and follow its AGENTS.md.
Enter teacher mode. Help me find the lectures and get started,
then answer questions as I work through them at my own pace.

See AI Options for tools and setup guidance.

Choose Your Chapter

Chapter What you’ll learn
1. Introduction Grids, light profiles, simulated observations and fitting
2. Modeling Bayesian inference, fitting galaxy models and combining searches
3. Pixelizations Reconstructing irregular galaxy structures with pixels and regularization
4. Scaling Up Galaxies Blended galaxies and modeling galaxy light in cluster fields
Optional tutorials Search methods, runtime and additional modeling techniques

Start with Chapters 1 and 2, then try the workspace examples before returning for Chapters 3 and 4.

Community and Contributing

Ask questions, suggest improvements and share your work in PyAutoLabs Discussions, or chat with us on Slack.

To contribute, see the contribution guide.

Citations

If you use HowToGalaxy or PyAutoGalaxy in your research, see the citation guide.

License

See the license.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages