craftutils.observation.epoch.Epoch.frame_class

alias of Image

Public members

instrument_name = 'dummy'
craftutils.observation.epoch.num_chips = 1
craftutils.observation.epoch.class_dict = {}
craftutils.observation.epoch.frame_class(path: str, ...)

Initialize self. See help(type(self)) for accurate signature.

craftutils.observation.epoch.__eq__(other)

Return self==value.

craftutils.observation.epoch.__str__()

Return str(self).

craftutils.observation.epoch.copy_headers(other: Image)
craftutils.observation.epoch.add_log(action: str, method=None, ...)
craftutils.observation.epoch.open(mode: str = 'readonly')
craftutils.observation.epoch.close()
craftutils.observation.epoch.new_image(path: str)
craftutils.observation.epoch.copy(destination: str, ...)

A note to future me: do copy, THEN make changes, or be prepared to suffer the consequences.

craftutils.observation.epoch.copy_with_outputs(destination: str)
craftutils.observation.epoch.load_output_file()
craftutils.observation.epoch.update_output_file()
craftutils.observation.epoch.load_headers(force: bool = False, **)
craftutils.observation.epoch.load_data(force: bool = False)
craftutils.observation.epoch.to_ccddata(unit: str | Unit)
craftutils.observation.epoch.get_id()
craftutils.observation.epoch.set_header_items(items: dict, ...)
craftutils.observation.epoch.set_header_item(key: str, value, ...)
craftutils.observation.epoch.add_history(note: str, ext: int = 0)
craftutils.observation.epoch.extract_header_item(key: str, ...)
craftutils.observation.epoch.extract_chip_number(ext: int = 0)
craftutils.observation.epoch.extract_unit(astropy: bool = False)
craftutils.observation.epoch.extract_units()
craftutils.observation.epoch.extract_program_id()
craftutils.observation.epoch.extract_gain()
craftutils.observation.epoch.extract_date_obs() str
craftutils.observation.epoch.extract_exposure_time()
craftutils.observation.epoch.extract_noise_read()
craftutils.observation.epoch.extract_object()
craftutils.observation.epoch.extract_n_pix(ext: int = 0)
craftutils.observation.epoch.extract_pixel_edges()

Using the FITS convention of origin = 1, 1, returns the pixel coordinates of the edges. :return: tuple: left, right, bottom, top

craftutils.observation.epoch.extract_saturate(data_ext: int = 0)
craftutils.observation.epoch.remove_extra_extensions(ext: int = 0)
craftutils.observation.epoch.write_fits_file()
classmethod craftutils.observation.epoch.header_keys()
classmethod craftutils.observation.epoch.from_fits(path: str, ...)
classmethod craftutils.observation.epoch.select_child_class(...)
craftutils.observation.epoch.split_fits(...)