helikite.instruments.maeth ========================== .. py:module:: helikite.instruments.maeth Attributes ---------- .. autoapisummary:: helikite.instruments.maeth.maeth Classes ------- .. autoapisummary:: helikite.instruments.maeth.MAeth Module Contents --------------- .. py:class:: MAeth(name: str, dtype: dict[Any, Any] = {}, na_values: list[Any] | None = None, header: int | None = 0, expected_header_value: str | None = None, delimiter: str = ',', lineterminator: str | None = None, comment: str | None = None, names: list[str] | None = None, index_col: bool | int | None = None, cols_export: list[str] = [], cols_housekeeping: list[str] = [], cols_final: list[str] | None = None, export_order: int | None = None, pressure_variable: str | None = None, temperature_variable: str | None = None, rh_variable: str | None = None, registry_name: str | None = None, coupled_columns: list[tuple[str, Ellipsis]] | None = None, rename_dict: dict[str, str] | None = None) Bases: :py:obj:`helikite.instruments.Instrument` Helper class that provides a standard way to create an ABC using inheritance. .. py:method:: __repr__() .. py:method:: data_corrections(df, *args, **kwargs) -> pandas.DataFrame Default callback function for data corrections. Return with no changes .. py:method:: set_time_as_index(df: pandas.DataFrame) -> pandas.DataFrame This function is used to set the date in the file to the index By default no action is taken, but this can be overridden in the instrument class to set the date as the index. .. py:method:: read_data() -> pandas.DataFrame Read data into dataframe This allows a custom read function to parse the CSV/TXT into a dataframe, for example cleaning dirty data at the end of the file in memory without altering the input file (see flight computer conf). .. py:method:: normalize(df: pandas.DataFrame, reference_instrument: helikite.instruments.Instrument, verbose: bool, *args, **kwargs) -> pandas.DataFrame Apply normalization to the data, i.e., normalization to STP conditions .. py:method:: _stp_convert_dry(x, t, p1) :staticmethod: .. py:method:: _convert_babs_stp_to_ebc(babs_stp, wavelength) :staticmethod: Convert STP-corrected absorption (Mm^-1) to eBC (µg/m3). .. py:data:: maeth