IdealObservation

class artpop.image.IdealObservation(image, zpt, bandpass)[source]

Bases: Observation

Return object for the ideal imager.

Parameters
imagendarray

The ideal mock image.

bandpassstr

Filter of the observation.

zptfloat

The magnitude zero point.

Methods Summary

copy()

Create deep copy of observation object.

from_pickle(file_name)

Load pickle of observation object.

to_fits(file_name[, overwrite, image_type])

Write image to fits file.

to_pickle(file_name)

Pickle observation object.

Methods Documentation

copy()

Create deep copy of observation object.

static from_pickle(file_name)

Load pickle of observation object.

to_fits(file_name, overwrite=True, image_type='image', **kwargs)

Write image to fits file.

Parameters
file_namestr

Name of fits file.

overwritestr, optional

If True (default), overwrite the image if it exists.

image_typestr, optional

Attribute name of the image to be written.

to_pickle(file_name)

Pickle observation object.