root/trunk/pysynphot/planning/syn_functionality.txt

Revision 566, 5.0 kB (checked in by laidler, 4 months ago)

Updated to match state of current planning

  • Property svn:eol set to native
Line 
1 This document describes the functionality provided by the most
2 commonly used synphot tasks, and identifies the pysynphot builds in
3 which they will be supported. It also identifies functionality for
4 which there are at present no plans to provide pysynphot support.
5
6 These identifications are tentative, and are subject to revision after
7 consultation with INS and after a survey is taken of synphot users
8 both internal to STScI and in the community.
9
10
11
12 CALCBAND
13 Construct bandpasses:
14 Supported: (in 0.3.x / 17.x)
15   from obsmode string
16   box (1 angstrom wide)
17
18
19 Not yet supported:  (1.0)
20   gauss #137
21   lgauss #138 A passband with normal distribution in the logarithm of the
22         wavelength.
23
24 No plans to support:
25   poly: Legendre polynomials
26   tilt: Like poly, except mean & fwhm are computed from wavelength
27
28 BANDPAR: Not yet supported. (0.7; relevant to 0.9 / OPUS 200x.x)
29
30 Should be methods on SpectralElement.
31 Calculate bandpass parameters: #139
32             URESP           Flux (in flam) of a star that produces a response
33                             of one photon per second in this passband
34             PIVWV           Passband pivot wavelength
35             BANDW           Passband rms width
36             FWHM            Full width half max of equivalent gaussian
37             WPEAK           Wavelength at peak throughput
38             TPEAK           Peak bandpass throughput
39             AVGLAM          Passband average wavelength
40             QTLAM           Dimensionless efficiency
41             EQUVW           Passband equivalent width
42             RECTW           Passband rectangular width
43             EMFLX           Equivalent monochromatic flux
44
45              NAME           PARAMETER
46             =======         =========
47             REFWAVE         The reference wavelength (set by user, or AVGLAM)
48             TLAMBDA         The throughput at the reference wavelength
49
50
51 CALCPHOT:
52 Should be methods on Observation (and possibly Spectrum, for effstim
53 only)
54
55 Supported?
56 0.6   #140    EFFSTIM         effective stimulus      (form)
57 0.7  }        AVGLAM          average wavelength      (Angstroms)
58 0.7  }        BARLAM          mean log wavelength     (Angstroms)
59 0.7  }#141    FWHMLAM         FWHM bandwidth          (Angstroms)
60 0.7  }        RMSLAM          rms bandwidth           (Angstroms)
61 0.3           EFFLERG         effective wavelength    (Angstroms)
62
63 CALCSPEC:
64 Supported?  yes, no, partial;
65 pysynphot build (-- = superceded)
66        ----------------------------------------------------------------------
67 y 0.3    band(str1, ...)              0       Telescope passband
68 y 0.3    bb(num1)                     1       Black body spectrum
69 y 0.3    box(num1, num2)              0       Rectangular passband
70 n --     cat(str1, ...)               1       Read from a catalog of spectra
71 n --     ebmv(num1)                   0       Galactic extinction curve
72 y 0.3    ebmvx(num1, str1)            0       Other extinction curves
73 n 1.0    em(num1, num2, num3, str1)   1       Emission line spectrum
74 y 0.3    gauss(num1, num2)            0       Normal curve passband
75 n --     grid (str1, num1)            1       Interpolated spectrum in grid
76 n 1.0    hi(num1, num2)               1       Hydrogen absorption spectrum
77 y 0.3    icat(str1, ...)              1       Interpolate in a catalog of spectra
78 n 1.0    lgauss(num1, num2)           0       Log normal curve passband
79 y 0.3    pl(num1, num2, str1)         1       Power law spectrum
80 n >1.0   poly(num1, num2, num3, ...)  0       Legendre polynomial
81 p 0.3/0.5  rn(spec1, band1, num1, str1)  1    Renormalize spectrum
82 y 0.3    spec(str1)                   1       Read a spectrum
83 y 0.3    thru(str1)                   0       Read a passband
84 n >1.0   tilt(band1, num1, ...)       0       Legendre polynomial product
85 y 0.3    unit(num1, str1)             1       Constant spectrum
86 p 0.3/0.5  z(spec1, num1)             1       Redshift spectrum
87
88 COUNTRATE:
89 Supported (0.3):
90   - compute the total flux (effective stimulation) in counts
91
92 Not yet supported:
93 - can specify exposure time (--; just multiply)
94 - flux_tot: total flux through band   (--; duplicates calcphot.effstim)
95 - refwave: a specifically called out flux (0.7)        }
96 - flux_ref: the flux at the reference wavelength (0.7) } #143
97
98
99
100 Obsmode: Not yet supported (0.7)
101 Fills out a partial obsmode with all its possible completions (#144)
102
103 Plband-related functionality: (0.7)
104
105 - Add a method to SpectralElement.normalize() (#120)
106
107 Showfiles: Supported via a method on bandpass (0.4)
108
109 Thermback: (0.7)
110 now a special newetc task; should be a method on bandpass
111 or obsmode (#145)
112
113 ==No need to support:==
114 Plband, Plspec: use matplotlib/pylab to directly plot spectra & bandpasses
115 Genwave: use numpy call to create arrays instead
116 Grafpath: replaced by showfiles
117
118 ==Utility programs: no plans to support==
119 Grafcheck: validates graph table as legitimate
120 Graflist: utility function on graph table
121 Mkthru: utility for CDBS reference file construction; no plans to support
122
123
124 ==Complex tasks: No plans to support unless requested (> 1.0):==
125 Fitband, fitgrid, fitspec
126 Imspec
127 Plratio, pltrans
128 Simulators
129
130
131
132
Note: See TracBrowser for help on using the browser.