Welcome to RUBIX’s documentation!#
RUBIX is a tested and modular Open Source tool developed in JAX, designed to forward model IFU cubes of galaxies from cosmological hydrodynamical simulations. The code automatically parallelizes computations across multiple GPUs, demonstrating performance improvements over state-of-the-art codes. For further details see the publications or the documentation of the individual functions.
Currently the following functionalities are provided:
Generate mock IFU flux cubes for stars from IllustrisTNG and NIHAO
Generate mock photometric images for stars for different filter curves
Use different stellar population synthesis models (FSPS, Bruzual & Charlot, MaStar)
Use MUSE as telescope instrument (and some other instruments)
Simple dust attenuation model
Computation on CPUs or GPUs
Calculate the gradient with respect to the physical properties of the input particles through the whole pipeline
Currently the code is under development and is not yet all functionality is available. We are working on adding more features and improving the code, espectially we work on the following features:
Adding support for more simulations
Adding support for more telescopes
Adding gas emission lines and gas continuum
Support for sampling from distribution functions as input
If you are interested in contributing to the code or have ideas for further features, please contact us via a github issue or via email. If you use the code in your research, please cite the following paper: Publications
RUBIX documentation:
Notebooks#
Notebooks:
- Create RUBIX data
- Concept of the pipeline
- RUBIX pipeline
- RUBIX pipeline in steps
- Gradient through RUBIX
- Load ssp template from FSPS
- Configure pipeline
- Set target values
- Set initial cube
- Adam optimizer
- Loss history
- Calculate loss landscape
- Dust extinction models in RUBIX
- Run the RUBIX pipeline with dust
- Now let’s visualize a nice edge-on galaxy in SDSS broad-band images with some nice dust lanes…
- Sanity check: overlay gas column density map over the dusty emission image
- And in comparison to this, the same galaxy without dust…
- Filter curves
- Cosmology
- Telescopes
- Spaxel assignment
- SSP templates
- Load supported SSP templates
- Load SSP template via custom config
- Let’s plot some example spectra
- Automatic download supported SSP template
- Lets plot some example spectra
- The point spread function
Code base documentation#
Code documentation:
- rubix.core package
- rubix.cosmology package
- rubix.galaxy package
- rubix.pipeline package
- rubix.spectra package
- rubix.telescope package
- rubix.utils package