Package pysynphot :: Module etc
[hide private]
[frames] | no frames]

Module etc

source code

This module defines the ETC interface for pysynphot. Although the names of the classes defined here are identical to the names of synphot tasks, they do NOT correspond to those tasks. They perform a strictly limited subset of the functionality available in those tasks.

The tasks in the dictionary at the end of this module map the task names provided by the ETC to the classes that perform the relevant calculations. It is included by server.py to instantiate an ETC server.

Classes [hide private]
  Calcspec
  Calcphot
  Countrate
  SpecSourcerateSpec
  Thermback
Functions [hide private]
 
Suicide(dummy)
Kill this process
source code
Variables [hide private]
  debug = 1
  tasks = {'calcphot': Calcphot, 'calcspec': Calcspec, 'countrat...

Imports: os, time, pyfits, spectrum, units, locations, observationmode, observation, P


Variables Details [hide private]

tasks

Value:
{'calcphot': Calcphot, 'calcspec': Calcspec, 'countrate': Countrate, '\
SpecSourcerateSpec': SpecSourcerateSpec, 'thermback': Thermback, 'quit\
': Suicide}