pynrc.simul.dms.update_dms_headers

pynrc.simul.dms.update_dms_headers(filename, obs_params)[source]

Given the name of a valid partially populated level 1b JWST file, add a couple simple WCS parameters from the SIAF keywords, which contain information about the telescope pointing.

It presumes all the accessed keywords are present from the JWST pipeline data model.

Parameters
  • filename (str) – file name

  • obs_params (dict) – Dictionary of parameters to populate DMS header. See create_DMS_HDUList in dms.py.