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

Module processing

source code

An abstract processor and some helping code.

Currently, I assume a plain text interface for those. It might be a good idea to use the event mechanism here.

Classes
  CannotComputeHeader
is raised when no FITS header was generated by a HeaderProcessor.
  FileProcessor
An abstract base for a source file processor.
  ImmediateHeaderProcessor
An base for processors doing simple FITS manipulations to the primary FITS header.
  HeaderProcessor
A base for processors doing FITS header manipulations.
  AnetHeaderProcessor
A file processor for calibrating FITS frames using astrometry.net.
  PreviewMaker
A file processor for generating previews.
  SpectralPreviewMaker
Functions
 
procmain(processorClass, rdId, ddId)
The "standard" main function for processor scripts.
source code
Variables
  pyplot = utils.DeferredImport("pyplot", "from matplotlib impor...
Function Details

procmain(processorClass, rdId, ddId)

source code 

The "standard" main function for processor scripts.

The function returns the instanciated processor so you can communicate from your processor back to your own main.

See :dachsdoc:`processors.html` for details.


Variables Details

pyplot

Value:
utils.DeferredImport("pyplot", "from matplotlib import pyplot")