##// END OF EJS Templates
Added vector build from numpy arrays...
Added vector build from numpy arrays Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r62:7315812f3839
r64:732c4dfa2c24
Show More
DataSeriesType.h
35 lines | 659 B | text/x-c | CLexer
First init from SciQLop Core module...
r0 #ifndef SCIQLOP_DATASERIESTYPE_H
#define SCIQLOP_DATASERIESTYPE_H
#include <QString>
Added new TS classes and tiny cleanup...
r60 enum class DataSeriesType
{
New TimeSeries integration WIP...
r62 NONE,
Added new TS classes and tiny cleanup...
r60 SCALAR,
VECTOR,
New TimeSeries integration WIP...
r62 SPECTROGRAM
Added new TS classes and tiny cleanup...
r60 };
First init from SciQLop Core module...
r0
Added new TS classes and tiny cleanup...
r60 struct DataSeriesTypeUtils
{
static DataSeriesType fromString(const QString& type)
{
if(type.toLower() == QStringLiteral("scalar"))
{ return DataSeriesType::SCALAR; }
else if(type.toLower() == QStringLiteral("spectrogram"))
{
return DataSeriesType::SPECTROGRAM;
}
else if(type.toLower() == QStringLiteral("vector"))
{
return DataSeriesType::VECTOR;
}
else
First init from SciQLop Core module...
r0 {
New TimeSeries integration WIP...
r62 return DataSeriesType::NONE;
First init from SciQLop Core module...
r0 }
Added new TS classes and tiny cleanup...
r60 }
First init from SciQLop Core module...
r0 };
#endif // SCIQLOP_DATASERIESTYPE_H