Package gavo :: Package helpers :: Module processing :: Class SpectralPreviewMaker
[frames] | no frames]

Class SpectralPreviewMaker

source code

   object --+        
            |        
FileProcessor --+    
                |    
     PreviewMaker --+
                    |
                   SpectralPreviewMaker

Instance Methods
 
getPreviewData(self, accref) source code

Inherited from PreviewMaker: classify, getPreviewPath, iterIdentifiers, process

Inherited from FileProcessor: __init__, addClassification, getProductKey, iterJobs, printReport, printTableSize, printVerboseReport, processAll

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
 
get2DPlot(tuples, linear=False, connectPoints=True)
returns a png-compressed pixel image for a 2D plot of (x,y) tuples.
source code

Inherited from PreviewMaker: addOptions

Class Variables
  linearFluxes = False
  spectralColumn = "spectral"
  fluxColumn = "flux"
  connectPoints = True

Inherited from FileProcessor: inputsDir

Properties

Inherited from object: __class__