Class AnIMLSeriesData
java.lang.Object
org.episteme.natural.chemistry.loaders.animl.AnIMLSeriesData
Represents a data series in AnIML analytical data.
A series contains numerical data from an analytical measurement, such as wavelengths, absorbances, retention times, or intensities.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]double[]Returns the effective values (explicit or auto-incremented).byte[]doubleintReturns the length of the data series.getName()doubledouble[]booleanReturns true if this is a dependent variable (e.g., absorbance, intensity).booleanReturns true if this is an independent variable (e.g., wavelength, time).voidsetAutoIncrementedValues(double[] autoIncrementedValues) voidsetDependency(String dependency) voidsetEncodedData(byte[] encodedData) voidsetIncrement(double increment) voidvoidsetPlotScale(String plotScale) voidsetSeriesId(String seriesId) voidsetStartValue(double startValue) voidsetUnitLabel(String unitLabel) voidsetUnitQuantity(String unitQuantity) voidsetValues(double[] values) toString()toVector()Returns the data as a Episteme RealDoubleVector.
-
Constructor Details
-
AnIMLSeriesData
public AnIMLSeriesData()
-
-
Method Details
-
getName
-
setName
-
getSeriesId
-
setSeriesId
-
getDependency
-
setDependency
-
getPlotScale
-
setPlotScale
-
getUnitLabel
-
setUnitLabel
-
getUnitQuantity
-
setUnitQuantity
-
getValues
public double[] getValues() -
setValues
public void setValues(double[] values) -
getAutoIncrementedValues
public double[] getAutoIncrementedValues() -
setAutoIncrementedValues
public void setAutoIncrementedValues(double[] autoIncrementedValues) -
getEncodedData
public byte[] getEncodedData() -
setEncodedData
public void setEncodedData(byte[] encodedData) -
getStartValue
public double getStartValue() -
setStartValue
public void setStartValue(double startValue) -
getIncrement
public double getIncrement() -
setIncrement
public void setIncrement(double increment) -
isIndependent
public boolean isIndependent()Returns true if this is an independent variable (e.g., wavelength, time). -
isDependent
public boolean isDependent()Returns true if this is a dependent variable (e.g., absorbance, intensity). -
getLength
public int getLength()Returns the length of the data series. -
toVector
Returns the data as a Episteme RealDoubleVector. -
getEffectiveValues
public double[] getEffectiveValues()Returns the effective values (explicit or auto-incremented). -
toString
-