SourceModel
- class erwans3.Astro_tools.SourceModel(source_name: str, simu_type: str = 'pixmap', priority: int = 0, time_dependent: bool = False, spectral_index='complex', close_range=False, data=None, model=None, model_param=None)
Bases:
ABCAbstract base class representing a source model for generating simulated Skymaps.
- :meth:`~erwans3.Astro_tools.SourceModel.pre_comp`
Abstract method for pre-computing values for the source model.
- :meth:`~erwans3.Astro_tools.SourceModel.make_source_simu`
Abstract method for generating a simulation Skymap for the source model.
Methods Summary
make_source_simu(freq, time[, observer])Abstract method for generating a simulation Skymap for the source model.
pre_comp([freqs, times, res_max])Abstract method for pre-computing values for the source model.
Methods Documentation
- abstract make_source_simu(freq: Quantity, time: Time, observer: Optional[Union[BaseCoordinateFrame, SkyCoord]] = None) Skymap
Abstract method for generating a simulation Skymap for the source model.
- Parameters:
freq (
Quantity[Hz]) – Frequency for simulation.time (
Time) – Time for simulation.observer (
BaseCoordinateFrameorSkyCoord or :obj:`~None, optional) – Observer frame for simulation.
- Returns:
A Skymap object for simulation.
- Return type: