fosanalysis
A framework to evaluate distributed fiber optic sensor data
Loading...
Searching...
No Matches
fosanalysis.protocols.SensorRecord Class Reference

A single record of the distributed fiber optic strain sensing data. More...

Inheritance diagram for fosanalysis.protocols.SensorRecord:

Public Member Functions

 __init__ (self, list data, **kwargs)
 Constructs a SensorRecord object.
 
str to_tsv (self, str itemsep="\t")
 This function returns the TSV (tab separated values) representation of this record.
 

Detailed Description

A single record of the distributed fiber optic strain sensing data.

Definition at line 24 of file protocols.py.

Constructor & Destructor Documentation

◆ __init__()

fosanalysis.protocols.SensorRecord.__init__ ( self,
list data,
** kwargs )

Constructs a SensorRecord object.

Being adictionary, it may hold further information.

Parameters
dataThe actual data of the record.
**kwargsAny other properties can be passes as kwargs, such as name, or timestamp.

Definition at line 28 of file protocols.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ to_tsv()

str fosanalysis.protocols.SensorRecord.to_tsv ( self,
str itemsep = "\t" )

This function returns the TSV (tab separated values) representation of this record.

Parameters
itemsepSeparation character. Defaults to "\t" (tab).

Definition at line 40 of file protocols.py.


The documentation for this class was generated from the following file: