desihub / desispec

DESI spectral pipeline
BSD 3-Clause "New" or "Revised" License
36 stars 24 forks source link

Increase range of extraction to shorter wavelength #1009

Open julienguy opened 3 years ago

julienguy commented 3 years ago

We have been using for commissioning so far a conservative wavelength range, starting extractions at 3600A when we could go to shorter wavelength. If we want to change this, we would better do it now than later. A suggestion is to start extractions 3576A (integer number of 0.8A steps to 3600A, so that we don't have to redefine the whole grid) and close to the shortest wavelength among all 5000 fibers that is more than 10 pixels away from the CCD edge (=3575.4A for fiber 249 of SP5 (=SM9)). The choice of 10 pixels is a bit arbitrary. Arguments are that we need a bit of margin for calibration and possible future moves in the optics.

We would need however to demonstrate we can calibrate the data down to this wavelength.

minwave

There is a bit of signal at these short wavelength. Here is for example the average spectrum of a bright star in tile 67230.

mean-spectrum-fiber-2780-tile-67230

moustakas commented 3 years ago

To play devil's advocate for a moment, what if we went even shorter, to say ~3520 or 3530 A? There's still the question of whether we can calibrate that blue, but for at least some fraction of the fibers we would have useful data to those wavelengths. We would then need to make sure the inverse variance spectra of the other fibers are padded with zeros, but presumably that's the default.

The main argument in favor of going bluer where we can would be: why not?

djschlegel commented 3 years ago

People will definitely use as blue as you go. But for any given exposure+camera, the blue limit will be set by where you have at least one sky fiber and one standard star going that blue.

Lots of people hated that in SDSS I dynamically chose the blue limit for each exposure. To avoid that hate mail, choose a blue limit (and a red limit!) at the extremes of what we'll ever get and use those everywhere.

sbailey commented 3 years ago

Agreed with David that whatever limits we use, they should be consistent across all exposures and targets (though some targets could start with a bunch of ivar=0 bins).

Two notes:

segasai commented 3 years ago

From stellar survey point of view, we would very much appreciate spectra from blue part of the spectra. And I would rather have many spectra with masked blue part because no useful data there can be obtained, and a handful of stars with that blue information, rather than everything truncated to the 'lowest common denominator'.

julienguy commented 3 years ago

So, well noted, we will work on this possibility to extract data at much shorter wavelength. This will require code development because it is assumed in many places in the code for now that all fibers see all wavelength. It's not a top priority for now so we probably won't have this at the beginning of recommissioning.