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 ( instead for XML SIAF parsing code, and WebbPSF ( 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.


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:


Project details

Download files

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

Files for jwxml, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size jwxml-0.3.2.tar.gz (962.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page