You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

General questions

  1. Is grizli using the same grismconf as Nor's code (e.g. does it import https://github.com/npirzkal/GRISMCONF)?
  2. How hard might it be to segregate all FITS and FITS-WCS dependencies into separate I/O routines (as a step towards moving over to ASDF + gWCS)?
  3. Is EAZY a strict dependency? 
  4. Looks like it's using pysynphot instead of synphot_refactor. Have you looked at updating?

Model based extraction

  1. How does grizli specify parameters to vary?
  2. What is the merit-function for the fit? 
  3. How are the data weighted ?
  4. What optimizer is used?
  5. How are uncertainties calculated?
    1. Ans: detector noise model (straightforward because we are in FLT frames)
    2. Drawback – can be slow if there are many exposures (e.g. FIGS)
  6. Which modules/functions/classes are doing the fitting?

Ans:

  • Turns input 1D spectrum & flux into 2D dispersed using object morphology
  • LSQ fitting scaling the models (template library)  
  • multifit is doing the chisq minimization
  • Current approach – generate static contamination model  (first starting with flat spectrum, then polynomials)
  • Start with brightest object, subtract fainter ones, fit polynomial, then iterate to fainter objects
  • For now, stop there for contamination – could imagine going to the next step of iterating all the fitted spectra
  • Possible to simultaneously fit in cutouts with multiple objects 


GrismDisperser

  • In model.GrismDisperser, do compute_model and compute_model_psf correspond to pixel- and object-based dispersion, respectively?

model.py

  • Seems to have a lot of hard-coded instrument specifics. Is that common elsewhere in the code?
    • Ans: probably mostly confined to grismconf and model.py
    • maybe also some in multifit

Approach for JWST – just rotated 90 degrees the cross-dispersed images.



  • No labels