| ArrayToSpectrum | 
 Converts a float array representing amplitudes into a spectrum. 
 | 
| JsonToSpectrum | 
 Turns a JSON string into a spectrum. 
 Input format: 
 - complete report stored: 
 { 
   "id": "someid", 
   "format": "NIR", 
   "waves": [1.0, 2.0], 
   "amplitudes": [1.1, 2.1], 
   "report": { 
     "Sample ID": "someid", 
     "GLV2": 1.123, 
     "valid": true 
   } 
 } 
  
 - specific reference and meta-data values stored: 
 { 
   "id": "someid", 
   "format": "NIR", 
   "waves": [1.0, 2.0], 
   "amplitudes": [1.1, 2.1], 
   "reference": { 
     "GLV2": 1.123 
   }, 
   "meta-data": { 
     "valid": true 
   } 
 } 
 
  
 
  
 | 
| MultiSpectrumToSpectra | 
 Generates an array of knir.data.spectrum.Spectrum from the incoming knir.data.spectrum.MultiSpectrum. 
 One can either transfer the data (all or partial) from the 'global' report to the sub-spectra or output the 'global' report as a separate (= first) spectrum with no spectral data points. 
  
 See also: 
 knir.data.conversion.SpectraToMultiSpectrum
 
  
 
  
 | 
| PostProcessingContainerToWekaInstanceContainer | 
 Converts a adams.flow.container.PostProcessingContainer container to a adams.data.instance.WekaInstanceContainer one. 
 | 
| ReportToSampleData | 
 Converts a Report into a SampleData object. 
 | 
| SampleDataArrayToMap | 
 Converts the incoming sample data array into a map using the sample ID as key. 
 | 
| SpectraToMultiSpectrum | 
 Generates a adams.data.spectrum.MultiSpectrum from the incoming array of adams.data.spectrum.Spectrum. 
 If the first spectrum in the array is a report-only spectrum (ie no spectral data points), then this report is used as the 'global' report for the multi-spectrum. 
 | 
| SpectrumToArray | 
 Turns either the wave numbers or amplitudes of the incoming spectrum into a float array. 
 | 
| SpectrumToBufferedImage | 
 Converts a spectrum into an image by treating it like an audio signal, and producing a spectrogram for it. 
 | 
| SpectrumToJson | 
 Turns a spectrum into a JSON string. 
 Output format: 
 - outputting the complete report: 
 { 
   "id": "someid", 
   "format": "NIR", 
   "waves": [1.0, 2.0], 
   "amplitudes": [1.1, 2.1], 
   "report": { 
     "Sample ID": "someid", 
     "GLV2": 1.123, 
     "valid": true 
   } 
 } 
  
 - outputting specific reference and meta-data values: 
 { 
   "id": "someid", 
   "format": "NIR", 
   "waves": [1.0, 2.0], 
   "amplitudes": [1.1, 2.1], 
   "reference": { 
     "GLV2": 1.123 
   }, 
   "meta-data": { 
     "valid": true 
   } 
 } 
 
  
 
  
 | 
| SpectrumToSpreadSheet | 
 Turns a spectrum into a spreadsheet. 
 | 
| SpectrumToWave | 
 Turns a spectrum into a WAV. 
 | 
| SpreadSheetColumnsToSampleData | 
 Turns spreadsheet columns into sample data. 
 | 
| SpreadSheetColumnsToSpectra | 
 Turns spreadsheet columns into spectra. 
 | 
| SpreadSheetRowsToSampleData | 
 Turns spreadsheet rows into sample data. 
 | 
| SpreadSheetRowsToSpectra | 
 Turns spreadsheet rows into spectra. 
 | 
| SpreadSheetTo2DTensor | 
 Converts a spreadsheet into a 2-D Tensor data structure (ie a matrix). 
 | 
| SpreadSheetTo3DTensor | 
 Converts a spreadsheet into a 3-way Tensor data structure. 
 The sheet requires four columns: X, Y, Z and data. 
 | 
| SpreadSheetToSpectrum | 
 Turns a spreadsheet into a spectrum. 
 | 
| SpreadSheetToThreeWayData | 
 Converts a spreadsheet into a 3-way data structure. 
 The sheet requires four columns: X, Y, Z and data. 
 The Z column is optional, which, if not provided, is simply assumed to be 0. 
 | 
| TensorToSpreadSheet | 
 Turns a Tensor data structure into a spreadsheet. 
 - 1D: single row 
 - 2D: matrix 
 - 3D: three index columns (X,Y,Z) and data column
 
  
 
  
 | 
| TensorToThreeWayData | 
 Turns a Tensor data structure into a ThreeWayData one. 
 | 
| ThreeWayDataToHeatmap | 
 Turns a adams.data.threeway.ThreeWayData data structure into a heatmap. 
 Sums up the data values of the Z layers that fall into the specified min/max. 
 | 
| ThreeWayDataToSpreadSheet | 
 Flattens 3-way data into a spreadsheet. 
 | 
| ThreeWayDataToTensor | 
 Converts 3-way data into the Tensor data structure. 
 | 
| WekaPredictionContainerToEvaluationContainer | 
 Turns a adams.flow.container.WekaPredictionContainer into a knir.flow.container.EvaluationContainer. 
 |