curryer.kernels.classes¶
classes
@author: Brandon Stone
Attributes¶
Classes¶
Data descriptor that enforces typing through casting. |
|
Kernel properties abstraction. |
|
Write to a SPICE kernel. |
Module Contents¶
- curryer.kernels.classes.logger¶
- class curryer.kernels.classes.TypedDataDescriptor(*, default, dtype)¶
Data descriptor that enforces typing through casting.
- class curryer.kernels.classes.AbstractKernelProperties¶
Kernel properties abstraction.
- SUPPORTED_INPUT_DATA_TYPES: ClassVar = None¶
- input_data_type: enum.Enum¶
- input_gap_threshold: str = None¶
- leapsecond_kernel: str = None¶
- version: int = 1¶
- author: str = 'LASP'¶
- mappings: dict = None¶
- relative_dir: pathlib.Path = None¶
- abstractmethod to_dict()¶
Convert properties to a dict.
- class curryer.kernels.classes.AbstractKernelWriter(properties: AbstractKernelProperties, bin_dir: str = None, parent_dir: str = None)¶
Write to a SPICE kernel.
- KTYPE = None¶
- FILE_EXT = None¶
- properties¶
- bin_dir = None¶
- parent_dir = None¶
- input_file = None¶
- setup_file = None¶
- abstractmethod prepare_input_data(input_data: pandas.DataFrame) list[pandas.DataFrame]¶
Prepare an accessor that will provide input data for the kernel.
- abstractmethod write_input_data(fobj_or_str, input_data: pandas.DataFrame)¶
Write input data.
- prepare_setup_config()¶
Prepare the kernel file’s setup configuration (pseudo kernel).
- write_kernel(filename, input_data, setup_txt, overwrite=False, append=False)¶
Create a new kernel or append to an existing one (config setting).