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

Module spparser

source code

Classes [hide private]
  Token
  AST
  BaseScanner
  Scanner
  BaseParser
  Interpreter
Functions [hide private]
 
convertstr(value) source code
 
scan(input) source code
 
parse(tokens) source code
 
interpret(ast) source code
 
ptokens(tlist) source code
 
_handleIRAFName(name)
Calls locations.irafconvert() to translate shell or iraf variables
source code
 
_handleThroughputFiles(name) source code
 
parse_spec(syncommand)
Parse the synphot-classic command and return the resulting spectrum
source code
Variables [hide private]
  syfunctions = ['spec', 'unit', 'box', 'bb', 'pl', 'em', 'icat'...
  synforms = ['fnu', 'flam', 'photnu', 'photlam', 'counts', 'abm...
  syredlaws = ['gal1', 'gal2', 'gal3', 'smc', 'lmc', 'xgal']
  zzz = '\n\n top ::= FILELIST\n\n '
  __package__ = 'pysynphot'

Imports: GenericScanner, GenericParser, GenericASTTraversal, GenericASTBuilder, GenericASTMatcher, spectrum, reddening, observationmode, locations, catalog, os, ObsBandpass


Variables Details [hide private]

syfunctions

Value:
['spec',
 'unit',
 'box',
 'bb',
 'pl',
 'em',
 'icat',
 'rn',
...

synforms

Value:
['fnu',
 'flam',
 'photnu',
 'photlam',
 'counts',
 'abmag',
 'stmag',
 'obmag',
...