curryer.compute.abstract¶
Abstract mission data class.
@author: Brandon Stone
Attributes¶
Classes¶
Abstract class to get/write mission data. |
Functions¶
|
Log any output tables/arrays from a function. |
|
Insert table values using the SQLAlchemy bulk insert method. |
Module Contents¶
- curryer.compute.abstract.logger¶
- curryer.compute.abstract.log_return(max_rows=5)¶
Log any output tables/arrays from a function.
- class curryer.compute.abstract.AbstractMissionData(microsecond_cadence, *args, **kwargs)¶
Abstract class to get/write mission data.
- microsecond_cadence¶
- _loaded_kernels = None¶
- allow_nans = True¶
- __del__()¶
- get_times(ugps_range, cadence=None)¶
Array of evenly spaced values.
- Parameters:
ugps_range ((int, int)) – Time range [start, end).
cadence (int, optional) – Number of microseconds to step by. Default=`self.DEFAULT_CADENCE`
- Returns:
Array of time values (int64).
- Return type:
numpy.ndarray
- curryer.compute.abstract.write_to_database(table, session, dbtable, auto_commit)¶
Insert table values using the SQLAlchemy bulk insert method.
- Parameters:
table (DataFrame)
session (Session)
dbtable (Table)
auto_commit (bool)
- Return type:
int