scopesim_templates.misc.misc

scopesim_templates.misc.misc#

Templates that could be used to simulate more general sources.

Functions

point_source(sed[, amplitude, filter_curve, ...])

Create a point source with an arbitrary spectrum.

poorman_cube_source([filename, hdu, ext, ...])

Create a very basic source from cube.

source_from_array(arr, sed, pixel_scale, ...)

Create a source from an image (numpy 2D array).

source_from_cube(cube[, ext])

Wrapper for Source(cube=cube) for completeness.

source_from_file(filename, pixel_scale, sed, ...)

Create a source from a fits image.

source_from_image(**kwargs)

Create a source from an image (numpy 2D array).

source_from_imagehdu(image_hdu, filter_name)

Create a scopesim.Source object directly from a fits.ImageHDU.

source_from_imagehdu_with_flux([image_hdu, ...])

Create a source from an image where pixel values have known flux and unit.

source_from_moments()

Place holder for that function.

uniform_source(sed[, amplitude, ...])

Create an extended uniform source with an arbitrary spectrum.