SimulatedSource¶
- class sofia_redux.scan.simulation.source_models.simulated_source.SimulatedSource[source]¶
Bases:
ABC
Initialize a simulated source.
This is an abstract class base for simulating source data given input positions. Currently equatorial offsets and horizontal coordinates may be converted to timestream data.
Methods Summary
__call__
(coordinates)Generate a source model for the applied offsets.
apply_to_horizontal
(offsets)Apply the model to a set of offset coordinates.
apply_to_offsets
(offsets)Apply the model to a set of offset coordinates.
copy
()Return a copy of the simulated source.
get_source_model
(name, **kwargs)Return an initialize source model of the given name.
Methods Documentation
- __call__(coordinates)[source]¶
Generate a source model for the applied offsets.
- Parameters:
- coordinatesCoordinate2D
- Returns:
- generated_modelnumpy.ndarray
- abstract apply_to_horizontal(offsets)[source]¶
Apply the model to a set of offset coordinates.
- Parameters:
- offsetsHorizontalCoordinates
- Returns:
- generated_modelnumpy.ndarray