Skip to main content

Parse and manipulate XML files, mostly JWST optics and wavefront sensing related.

Project description

DEPRECATED: This package is obsolete. See PYSIAF (https://pysiaf.readthedocs.io/) instead for XML SIAF parsing code, and WebbPSF (https://webbpsf.readthedocs.io/) for JWST mirror file XML parsing code.

jwxml is no longer actively developed and its use should be phased out.

Note: This is probably mostly useful internally at STScI.

Miscellaneous XML support helper code related to some JWST configuration files, mostly optics and wavefront sensing related.

So far this provides support for reading in and interacting with:

  • The so-called SIAF (Science Instrument Aperture Files)

  • Wavefront control SUR (Segment Update Request) files

More functionality may be added ad hoc as needed; no overall long term development master plan is implied.

SIAF

Science Instrument Aperture Files contain detailed focal plane and pointing models for the science instruments. They are maintained in the JWST PRD (Project Reference Database). Snapshots taken from the PRD are bundled with jwxml, but care should be taken to ensure one is using the latest files from the PRD directly.

For a file obtained from the PRD:

siaf = jwxml.SIAF(filename='/your/path/to/NIRCam_SIAF_2016-01-28.xml')

To use the bundled SIAF:

siaf = jwxml.SIAF('NIRCam')

To check which PRD version is in use:

print(jwxml.PRD_VERSION)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jwxml-0.3.2.tar.gz (962.4 kB view details)

Uploaded Source

File details

Details for the file jwxml-0.3.2.tar.gz.

File metadata

  • Download URL: jwxml-0.3.2.tar.gz
  • Upload date:
  • Size: 962.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7

File hashes

Hashes for jwxml-0.3.2.tar.gz
Algorithm Hash digest
SHA256 25193ef7dfae5afdace6e7fcc67080f646e81cc996f69866ada372d007e90cfe
MD5 136d59ef13c1b54a8283298906f0faeb
BLAKE2b-256 aa851c2ce16c6b3cb8f13b02a46a5bfe3dfb352cb72c99fbd2661a24499d9178

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page