helikite.instruments.stap

Single Channel Tricolor Absorption Photometer (STAP) The STAP measures the light absorption of particles deposited on a filter.

Resolution: 1 sec

Variables to keep: Everything

Time is is seconds since 1904-01-01 (weird starting date for Igor software)

Attributes

stap

stap_raw

Classes

STAP

This class is a processed version of the STAP data

STAPRaw

This instrument class is for the raw STAP data

Module Contents

class helikite.instruments.stap.STAP(*args, **kwargs)

Bases: helikite.instruments.base.Instrument

This class is a processed version of the STAP data

For outputs directly from the instrument, use the STAPRaw class

__repr__()
data_corrections(df, *args, **kwargs)
set_time_as_index(df: pandas.DataFrame) pandas.DataFrame

Set the DateTime as index of the dataframe and correct if needed

Using values in the time_offset variable, correct DateTime index

read_data() pandas.DataFrame
normalize(df: pandas.DataFrame, reference_instrument: helikite.instruments.base.Instrument, verbose: bool, *args, **kwargs) pandas.DataFrame

Normalize STAP measurements to STP conditions.

Parameters: df (pd.DataFrame): DataFrame containing STAP measurements and necessary metadata

like ‘flight_computer_pressure’ and ‘Average_Temperature’.

Returns: df (pd.DataFrame): Updated DataFrame with new STP-normalized columns added.

plot_raw_and_normalized(df: pandas.DataFrame, verbose: bool, *args, **kwargs)

Plots STAP concentration, raw and normalized to STP conditions, against altitude

class helikite.instruments.stap.STAPRaw(*args, **kwargs)

Bases: helikite.instruments.base.Instrument

This instrument class is for the raw STAP data

__repr__()
data_corrections(df, *args, **kwargs)
file_identifier(first_lines_of_csv) bool
set_time_as_index(df: pandas.DataFrame) pandas.DataFrame

Set the DateTime as index of the dataframe and correct if needed

Instrument contains date and time separately and appears to include an extra whitespace in the field of each of those two columns

read_data() pandas.DataFrame
helikite.instruments.stap.stap
helikite.instruments.stap.stap_raw