- class craftutils.observation.image.RawSpectrum(craftutils.observation.epoch.SpectroscopyEpoch.frame_class)
Public members¶
-
frame_type =
'raw'
-
RawSpectrum(path: str | None =
None, ...) Initialize self. See help(type(self)) for accurate signature.
- classmethod from_pypeit_line(line: str, pypeit_raw_path: str)
- classmethod select_child_class(instrument_name: str, **kwargs)
-
instrument_name =
'dummy'
-
num_chips =
1
-
class_dict =
{}
- __eq__(other)
Return self==value.
- __str__()
Return str(self).
- copy_headers(other: Image)
- close()
-
copy(destination: str, suffix: str =
'') A note to future me: do copy, THEN make changes, or be prepared to suffer the consequences.
- copy_with_outputs(destination: str)
-
load_headers(force: bool =
False, **kwargs)
- to_ccddata(unit: str | Unit)
- get_id()
-
set_header_items(items: dict, ext: int =
0, write: bool =True)
-
set_header_item(key: str, value, ext: int =
0, write: bool =False)
-
add_history(note: str, ext: int =
0)
-
extract_header_item(key: str, ext: int =
0, ...)
-
extract_chip_number(ext: int =
0)
-
extract_unit(astropy: bool =
False)
-
extract_n_pix(ext: int =
0)
- extract_pixel_edges()
Using the FITS convention of origin = 1, 1, returns the pixel coordinates of the edges. :return: tuple: left, right, bottom, top
-
extract_saturate(data_ext: int =
0)
-
remove_extra_extensions(ext: int =
0)
- classmethod header_keys()
-
split_fits(output_dir: str | None =
None)
-
frame_type =