Skip to main content

HST/STIS Target Acquisition Simulator

Project description

See documentation at http://stistarg.readthedocs.io/en/latest/

Utility to simulate HST/STIS target acquisitions with various “optional parameters” available in the Astronomer’s Proposal Tool (APT) on a user-supplied FITS image.

PyPI - Version Documentation Status build status

Command Line Interface

For more information, type stistarg --help:

usage: stistarg [-h] [--ext EXT] [--point | --diffuse CHECKBOXSIZE] [--display]
                FILENAME

Simulate HST/STIS onboard target acquisition algorithm on user data.

positional argument:
  FILENAME              Input FITS file

optional arguments:
  -h, --help            show this help message and exit
  --ext EXT             Input FITS extension [default=0]
  --point               Point-source algorithm [default]
  --diffuse CHECKBOXSIZE
                        Diffuse-source algorithm. Specify checkboxsize [odd integer 3-101]
  --display, -d         Display results with matplotlib.pyplot

Written by Berry & Lockwood

Python API

import stistarg
stistarg.stistarg(filename, ext=0, source='point', checkboxsize=3, display=False)

Limitations

This release currently supports only the STIS detector format and scale. The capability to use non–STIS data will be added in a future release. Users wishing to use data from other sources must trim and rescale their input data accordingly. The STIS CCD plate scale is 0.05078 arcsec/pix.

Furthermore, stistarg assumes the use of STIS acquisition image data and trims out the last five columns from the input array before performing calculations (these are normally hot). To skip this behavior, users should pad their data accordingly.

Contact

For support, please contact the STScI help desk.

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

stistarg-2.4.1.tar.gz (259.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stistarg-2.4.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file stistarg-2.4.1.tar.gz.

File metadata

  • Download URL: stistarg-2.4.1.tar.gz
  • Upload date:
  • Size: 259.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for stistarg-2.4.1.tar.gz
Algorithm Hash digest
SHA256 1e27fe81e71f349a8e6326bac6eed683c9d64fb2a96df595bde72ab00f780208
MD5 26cfa3c9cee6833916ce917e50b8f53a
BLAKE2b-256 28f114e1e90b35f6378235f4c830f57a29d639166747dc9da40c79e24b44620c

See more details on using hashes here.

Provenance

The following attestation bundles were made for stistarg-2.4.1.tar.gz:

Publisher: publish.yml on spacetelescope/stistarg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stistarg-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: stistarg-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for stistarg-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f82b92e45a65424981b7a700a698fba3592eaa728334cc3f47da39db5e38ca9
MD5 671abc26fdddf05fce7f99119cfbad2c
BLAKE2b-256 828b6240a70816457522ea3a07ddec7391d8f7e20b80d0d2c17b042ecf6f81da

See more details on using hashes here.

Provenance

The following attestation bundles were made for stistarg-2.4.1-py3-none-any.whl:

Publisher: publish.yml on spacetelescope/stistarg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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