craftutils.observation.epoch.SpectroscopyEpoch.coadded_class(craftutils.observation.epoch.SpectroscopyEpoch.frame_class)

alias of Coadded1DSpectrum

Public members

coadded_class(path: str | None = None, grism: str | None = None)

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

craftutils.observation.epoch.trim(output: str | None = None, ...)
craftutils.observation.epoch.convert_to_marz_format(...)

Extracts the 1D spectrum from the PypeIt-generated file and rearranges it into the format accepted by Marz. :param output: :param lambda_min: :param lambda_max: :return:

craftutils.observation.epoch.get_lambda_range()
classmethod craftutils.observation.epoch.select_child_class(...)
craftutils.observation.epoch.instrument_name = 'dummy'
craftutils.observation.epoch.num_chips = 1
craftutils.observation.epoch.class_dict = {}
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, ...)
craftutils.observation.epoch.split_fits(...)