helikite.instruments.mcpc
mCPC -> 220202A0.TXT (pressure should be ok to be used)
Particle counter
Time resoslution: 1 sec Variables to keep: aveconc, concent, rawconc, condtmp, satttmp, pressur,
fillcnt, err_num
Attributes
Classes
Helper class that provides a standard way to create an ABC using |
Module Contents
- class helikite.instruments.mcpc.MCPC(*args, **kwargs)
Bases:
helikite.instruments.base.Instrument
Helper class that provides a standard way to create an ABC using inheritance.
- name = 'mcpc'
- file_identifier(first_lines_of_csv) bool
Default file identifier callback
Must return false. True would provide false positives.
- 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.
- data_corrections(df, *args, **kwargs)
Default callback function for data corrections.
Return with no changes
- 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).
- helikite.instruments.mcpc.mcpc