Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Synthesizer
Logo
  • Getting Started
    • Installation
    • Overview
    • Downloading Grids
    • Getting Help & Contributing
  • Grids
    • Pre-Computed Grids
    • The Grid Object
    • Modifying Grids
    • Lines from Grid objects
  • Galaxies and Their Components
    • Stars
    • Gas
    • Blackholes
    • Particle vs Parametric
    • Line of Sight Calculations
  • Emissions
    • The Sed object
    • The LineCollection Object
    • Stellar Spectra
    • Black Hole Spectra
    • Galaxy Spectra
    • Lines from Galaxy objects
  • Emission models
    • Emission model basics
    • Premade Models
      • Stellar Emission Models
      • AGN Emission Models
      • Common Models
    • Modifying a model
    • Creating your own EmissionModel
    • Attenuation
      • Dust Attenuation Curves
      • Intergalactic Medium Absortion
    • Dust emission
    • Combined Emission Models
  • Instruments
    • Working with Instruments
    • Premade Instruments
    • Filters
      • Filters example
  • Observables
    • Photometry
      • Generating Photometry
      • Generating photometry from a Galaxy
    • Spectroscopy
    • Imaging
      • Images From Galaxy Particle distributions
      • Images From Parametric Galaxies
      • Property maps
    • Spectral Data Cubes
      • Spectral Data Cubes from Galaxy Particle distributions
      • Spectral Data Cubes from a Parametric Galaxy
  • The Pipeline
  • Performance
    • Parallelism
  • Advanced
    • Configuration Options
    • Units
    • Abundances
    • Creating Grids
  • Cookbook
    • Generate active galaxy
    • Generate composite galaxy
  • Examples
    • Cosmological simulation examples
      • Line of sight example
      • Age lookup test
      • Aperture Mask Example
      • Camels luminosity function example
      • SC-SAM example
      • Parametric Young Stars Example
      • Camels example
    • General examples
      • IGM transmission example
      • Dust curves example
      • Filters example
      • Plot quiescent UVJ diagram
      • Plot spectra example
      • Photometry example
    • Grid examples
      • Plot ionising luminosity
      • Plot the line continuum for a given grid point
      • Plot spectra example
      • Get lines example
      • Plot spectra by age
    • Imaging examples
      • Get sum of image inside an aperture
      • Image addition example
    • Parametric galaxy examples
      • Compare different parametric star formation history models
      • Demonstrate the dense basis approach for describing the SFZH
      • Plot delta_lambda for a grid.
      • Generating Lines from a Parametric Galaxy
      • Create image example
      • Generate parametric morphology profiles
      • Generate parametric observed SED
      • An example showing how to scale a galaxy’s mass by luminosity/flux.
      • Generate parametric galaxy SED
      • Plot equivalent width for UV indices
    • Particle galaxy examples
      • Create sampled SED
      • Compare parametric and particle SEDs
      • Compare SPS grid assignment methods
      • Plot velocity broadened spectra
      • Compare Single star particle to instantaneous SFZH
      • Plot line of sight diagnostics
      • Plot line of sight optical depth calculations
      • Rotating particle distributions
  • References
  • API Reference
    • synthesizer
      • synthesizer.abundances
        • synthesizer.abundances.abundance_patterns
        • synthesizer.abundances.abundance_scalings
        • synthesizer.abundances.depletion_models
        • synthesizer.abundances.elements
        • synthesizer.abundances.reference_abundance_patterns
      • synthesizer.base_galaxy
      • synthesizer.components
        • synthesizer.components.blackhole
        • synthesizer.components.component
        • synthesizer.components.stellar
      • synthesizer.conversions
      • synthesizer.data
        • synthesizer.data.initialise
      • synthesizer.downloader
        • synthesizer.downloader.downloader
      • synthesizer.emission_models
        • synthesizer.emission_models.agn
          • synthesizer.emission_models.agn.models
          • synthesizer.emission_models.agn.unified_agn
        • synthesizer.emission_models.attenuation
        • synthesizer.emission_models.base_model
        • synthesizer.emission_models.dust
          • synthesizer.emission_models.dust.emission
        • synthesizer.emission_models.extractors
          • synthesizer.emission_models.extractors.extractor
        • synthesizer.emission_models.models
        • synthesizer.emission_models.operations
        • synthesizer.emission_models.stellar
          • synthesizer.emission_models.stellar.models
          • synthesizer.emission_models.stellar.pacman_model
        • synthesizer.emission_models.transformers
          • synthesizer.emission_models.transformers.dust_attenuation
          • synthesizer.emission_models.transformers.escape_fraction
          • synthesizer.emission_models.transformers.igm
          • synthesizer.emission_models.transformers.transformer
        • synthesizer.emission_models.utils
      • synthesizer.emissions
        • synthesizer.emissions.line
        • synthesizer.emissions.line_ratios
        • synthesizer.emissions.sed
        • synthesizer.emissions.utils
      • synthesizer.exceptions
        • synthesizer.exceptions.BadResult
        • synthesizer.exceptions.DownloadError
        • synthesizer.exceptions.GridError
        • synthesizer.exceptions.InconsistentAddition
        • synthesizer.exceptions.InconsistentArguments
        • synthesizer.exceptions.InconsistentCoordinates
        • synthesizer.exceptions.InconsistentMultiplication
        • synthesizer.exceptions.InconsistentParameter
        • synthesizer.exceptions.InconsistentUnits
        • synthesizer.exceptions.InconsistentWavelengths
        • synthesizer.exceptions.IncorrectUnits
        • synthesizer.exceptions.MissingArgument
        • synthesizer.exceptions.MissingAttribute
        • synthesizer.exceptions.MissingIFU
        • synthesizer.exceptions.MissingImage
        • synthesizer.exceptions.MissingInstrumentFile
        • synthesizer.exceptions.MissingLines
        • synthesizer.exceptions.MissingMaskAttribute
        • synthesizer.exceptions.MissingModelSettings
        • synthesizer.exceptions.MissingSpectraType
        • synthesizer.exceptions.MissingUnits
        • synthesizer.exceptions.PipelineNotReady
        • synthesizer.exceptions.SVOFilterNotFound
        • synthesizer.exceptions.SVOInaccessible
        • synthesizer.exceptions.SVOTransmissionHasUnits
        • synthesizer.exceptions.UnimplementedFunctionality
        • synthesizer.exceptions.UnknownImageType
        • synthesizer.exceptions.UnmetDependency
        • synthesizer.exceptions.UnrecognisedOption
        • synthesizer.exceptions.WavelengthOutOfRange
      • synthesizer.filters
      • synthesizer.galaxy
      • synthesizer.grid
      • synthesizer.imaging
        • synthesizer.imaging.base_imaging
        • synthesizer.imaging.extensions
          • synthesizer.imaging.extensions.circular_aperture
          • synthesizer.imaging.extensions.image
          • synthesizer.imaging.extensions.spectral_cube
        • synthesizer.imaging.image
        • synthesizer.imaging.image_collection
        • synthesizer.imaging.image_generators
        • synthesizer.imaging.spectral_cube
      • synthesizer.instruments
        • synthesizer.instruments.filters
        • synthesizer.instruments.instrument
        • synthesizer.instruments.instrument_collection
        • synthesizer.instruments.premade
        • synthesizer.instruments.utils
      • synthesizer.kernel_functions
      • synthesizer.load_data
        • synthesizer.load_data.load_camels
        • synthesizer.load_data.load_eagle
        • synthesizer.load_data.load_flares
        • synthesizer.load_data.load_scsam
        • synthesizer.load_data.load_simba
        • synthesizer.load_data.utils
      • synthesizer.parametric
        • synthesizer.parametric.blackholes
        • synthesizer.parametric.galaxy
        • synthesizer.parametric.metal_dist
        • synthesizer.parametric.morphology
        • synthesizer.parametric.sf_hist
        • synthesizer.parametric.stars
      • synthesizer.particle
        • synthesizer.particle.blackholes
        • synthesizer.particle.galaxy
        • synthesizer.particle.gas
        • synthesizer.particle.particles
        • synthesizer.particle.stars
        • synthesizer.particle.utils
      • synthesizer.photoionisation
        • synthesizer.photoionisation.cloudy17
        • synthesizer.photoionisation.cloudy23
        • synthesizer.photoionisation.photoionisation
      • synthesizer.photometry
      • synthesizer.pipeline
        • synthesizer.pipeline.pipeline
        • synthesizer.pipeline.pipeline_io
        • synthesizer.pipeline.pipeline_utils
      • synthesizer.synth_warnings
      • synthesizer.units
      • synthesizer.utils
        • synthesizer.utils.art
        • synthesizer.utils.ascii_table
        • synthesizer.utils.geometry
        • synthesizer.utils.integrate
        • synthesizer.utils.plt
        • synthesizer.utils.profiling_utils
        • synthesizer.utils.stats
        • synthesizer.utils.util_funcs
Back to top

Cosmological simulation examples¶

Line of sight example

Line of sight example

Age lookup test

Age lookup test

Aperture Mask Example

Aperture Mask Example

Camels luminosity function example

Camels luminosity function example

SC-SAM example

SC-SAM example

Parametric Young Stars Example

Parametric Young Stars Example

Camels example

Camels example
Next
Line of sight example
Previous
Examples
Copyright © 2025, Chris Lovell, Will Roper, Aswin Vijayan, Stephen Wilkins
Made with Sphinx and @pradyunsg's Furo