scopesim_templates.misc.misc.source_from_cube#
- scopesim_templates.misc.misc.source_from_cube(cube, ext=1) Source#
Wrapper for Source(cube=cube) for completeness.
In the future more checks will be performed to translate most cubes into a suitable format.
Todo
Set the cube to a different flux level and different pixel scales. Redshift the cube
- Parameters:
cube (Filename, ImageHDU or HDUList containing the cube)
ext (extension where the data is located)