Name

adams.flow.transformer.InstanceToSpectrum


Synopsis

Converts a weka.core.Instance to a Spectrum.
By default, the wave numbers start at 0 and use an increment of 1.
If 'first' and 'last' wave number are supplied, the step size is calculated based on the number of amplitudes present in the Instance.
If only 'first' wave number is supplied, then the supplied wave step size is used.
'first' and 'last' get ignored if a value of less than 0 is supplied.


Additional information

Flow input/output:
- input: weka.core.Instance
- output: adams.data.spectrum.Spectrum


Options