-
-
Notifications
You must be signed in to change notification settings - Fork 132
Spectrum 1D concept & issues
wkerzendorf edited this page Feb 27, 2012
·
17 revisions
- two main suggestions: instantiation with a flux & a dispersion array OR a flux array and a WCS object
Advantage flux, dispersion:
Advantage wcs:
-
slicing can work on either dispersion or pixels
-
keyword to switch between both of them
-
getitem overload?
- operator overload?
if operator overload
- what operands allowed? scalars, spectrum same dispersion, spectrum different dispersion
- op-mode setting in spectrum1d
- for now simple np.interp?
- thinking about interpolation using wcs?
-
meta data copy -- time intensive?
-
pythonic to do copy?
-
when to use functions, when spectrum1d internal methods.
-
argument plotting
-
argument io