altdss.MonitorExtras#
Module Contents#
Classes#
API#
- class altdss.MonitorExtras.MonitorObjMixin#
- AsMatrix() altdss.types.Float64Array#
Returns a copy of the matrix of this monitor, containing the hour vector, seconds vector, and all channels (index 2 = channel 1). If you need multiple channels, prefer using this function as it processes the monitor byte-stream once.
For harmonic solutions, the first two columns are the frequency and the harmonic, respectively.
- ByteStream() altdss.types.Int8Array#
- Channel(index: int) altdss.types.Float32Array#
Array of float32 for the specified channel. A Save or SaveAll should be executed first, and that is done automatically by most standard solution modes. Channels start at index 1.
- FileName() str#
- Header() List[str]#
- NumChannels() int#
- RecordSize() int#
- SampleCount() int#
- Show()#
- ToDataFrame()#
Returns this monitor’s data as a Pandas DataFrame
Requires pandas
- dblFreq() altdss.types.Float64Array#
Frequency values for harmonics mode solutions. Empty for time mode solutions (use dblHour instead).
- dblHour() altdss.types.Float64Array#
Time value in hours for time-sampled monitor values. Empty if frequency-sampled values for harmonics solution (use dblFreq instead).