Loading...
Searching...
No Matches
Waveform.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2012 Raritan Inc. All rights reserved.
*/
#ifndef __PDUMODEL_WAVEFORM_IDL__
#define __PDUMODEL_WAVEFORM_IDL__
/** PDU Model */
module pdumodel {
/** Waveform data, including metadata */
structure Waveform {
vector<double> voltage; ///< Voltage waveform samples, each (1/sampleRate) seconds apart
vector<double> current; ///< Current waveform samples, each (1/sampleRate) seconds apart
int sampleRate; ///< Number of samples per second
};
}
#endif
pdumodel
PDU Model.
Definition Circuit.idl:16
pdumodel::Waveform
Waveform data, including metadata.
Definition Waveform.idl:12
pdumodel::Waveform::voltage
vector< double > voltage
Voltage waveform samples, each (1/sampleRate) seconds apart.
Definition Waveform.idl:13
pdumodel::Waveform::current
vector< double > current
Current waveform samples, each (1/sampleRate) seconds apart.
Definition Waveform.idl:14
pdumodel::Waveform::sampleRate
int sampleRate
Number of samples per second.
Definition Waveform.idl:15