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.
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.
Metadata
Release files for stistarg 2.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stistarg-2.4.1.tar.gz | 259.0 kB | With provenance | Details for stistarg-2.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stistarg-2.4.1-py3-none-any.whl | Python 3 | none | any | Details for stistarg-2.4.1-py3-none-any.whl |
Total release size: 270.4 kB
Release files / stistarg-2.4.1.tar.gz
| Download URL | stistarg-2.4.1.tar.gz |
|---|---|
| Size | 259.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e27fe81e71f349a8e6326bac6eed683c9d64fb2a96df595bde72ab00f780208
|
|
BLAKE2b-256 checksum How to use checksums |
28f114e1e90b35f6378235f4c830f57a29d639166747dc9da40c79e24b44620c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2025.
Transparency logRelease files / stistarg-2.4.1-py3-none-any.whl
| Download URL | stistarg-2.4.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f82b92e45a65424981b7a700a698fba3592eaa728334cc3f47da39db5e38ca9
|
|
BLAKE2b-256 checksum How to use checksums |
828b6240a70816457522ea3a07ddec7391d8f7e20b80d0d2c17b042ecf6f81da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2025.
Transparency logSecurity for stistarg 2.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for stistarg-2.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.