-
-
Notifications
You must be signed in to change notification settings - Fork 132
Spectrum 1D concept & issues
wkerzendorf edited this page Feb 28, 2012
·
17 revisions
-
two main suggestions: instantiation with a flux & a dispersion array OR a flux array and a WCS object
-
suggested WCS implementation:
https://github.com/wkerzendorf/specutils/blob/specio/specutils/io/io_utils.py
https://github.com/wkerzendorf/specutils/blob/specwcs/specutils/specwcs/specwcs.py
-
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