Skip to main content

jwxml

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)

Metadata

Release files for jwxml 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jwxml 0.3.2
File Size Uploaded
jwxml-0.3.2.tar.gz 962.4 kB Details

Release files / jwxml-0.3.2.tar.gz

Download URL jwxml-0.3.2.tar.gz
Size 962.4 kB
Tags Source
SHA-256 checksum
How to use checksums
25193ef7dfae5afdace6e7fcc67080f646e81cc996f69866ada372d007e90cfe
BLAKE2b-256 checksum
How to use checksums
aa851c2ce16c6b3cb8f13b02a46a5bfe3dfb352cb72c99fbd2661a24499d9178
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

2 release files

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page