Class FileSegmentProducer
Defined in File FileSegmentProducer.h
Inheritance Relationships
Base Type
public ska::pst::common::BlockSegmentProducer(Class BlockSegmentProducer)
Class Documentation
-
class FileSegmentProducer : public ska::pst::common::BlockSegmentProducer
Class used for reading voltage data and weights from file.
Public Functions
-
FileSegmentProducer(const std::string &data_file_path, const std::string &weights_file_path, double max_segment_length = -1)
Create instance of a FileSegmentProducer object.
Negative max_segment_length results in no limit to the maximum segment length.
- Parameters
data_file_path – path to the data file to process.
weights_file_path – the path to the weights file for the data file.
max_segment_length – the maximum length of a segment to produce in seconds.
-
~FileSegmentProducer()
Destroy the FileSegmentProducer object.
-
FileSegmentProducer(const std::string &data_file_path, const std::string &weights_file_path, double max_segment_length = -1)