constructMeasurementFrame¶
-
fiducia.rawProcess.
constructMeasurementFrame
(timesFrame, df, channels)[source]¶ Takes out put timesFrame and dataFrame from rawProcess.py functions and generates a measurementFrame that can be passed to analyzeStreak() and other main.py functions.
Converts units from seconds to nanoseconds.
- Parameters
timesFrame (pandas.core.frame.DataFrame) – A dataframe containing time axis values corresponding to signals in df.
df (pandas.core.frame.DataFrame) – A dataframe of corrected/calibrated dante signal measurements.
channels (list) – A list of channels for which to apply analyis.
- Returns
measurementFrame – Returns a measurementFrame which can be passed to main.py functions such as analyzeSpectrum() and analyzeStreak().
- Return type
pandas.core.frame.DataFrame
Notes
Examples