KBAstroUtils
This is a collection of modules for analyses related to astrophysics by Dr. Kornpob Bhirombhakdi. Contact: kbhirombhakdi@stsci.edu
Tasks include:
- dqmask.py = handle data quality (DQ) arrays
- container.py = handle declaring attibutes given keys and values
- segmentation.py = wrapper for making a segmentation map (used to be source.py in version < 1.2.0)
- sub2full.py = mapping a subarray image back to its full frame
- gnd.py = wrapper, and main class for grism reduction
- grismconf.py = read conf file for grism reduction
- grismsens.py = read sens file for grism reduction
- grismapcorr.py = read aperture correction table, and calculate aperture correction factor
- grismmeta.py = construct meta info
- make_sip.py = calculate Simple Imaging Polynomial (SIP)
- photapcorr.py = read photometric calibration table, and prepare calibration factors (i.e., encircled energy correction, and photometric AB zeropoint)
- mag2flux.py = converting ABmag to flam
Known issues:
- ACS photometric zeropoints are set to 0.
- Memory
- No description/documentation
- Handling other telescopes
- flux2mag.py
- AB2Vega.py
- Vega2AB.py
- WFC3 subarray
- drz gets brighter about 10%
- test new code with ACS-WFC, and other WFC3-IR
Next
- Combine 1D spectra
- Use assertion for error handling (http://swcarpentry.github.io/python-novice-inflammation/09-defensive/index.html)
- HST-ACS-WFC flux calibration
- Fix drz getting brigther
v.2.5.0
- Implement ACS subarray
- Implement ('HST','ACS','WFC') as identifier
- Implement grismcrclean.py, grismmodel.py, grismcalibpath.py, grismdrz.py
- Change grismconf.py, grismsens.py, gnd.py, dqmask.py
v.2.4.0
- Implement grismmeta.py
- HST-ACS-WFC is available for wavelength calibration, but not flux calibration
- HST-ACS-WFC subarray is applicable
- Change the construction of GrismCONF, and GrismSens
v.2.3.0
- GND.make_pairs(pairs=None) can automatically make pairs
- GND.make_xyd(xyd=None, init=init, inittype='radec') can automatically find a centroid given init
- GND.show(method='meta', output=True) returns the table instead of displaying it
- GND.make_drz() is deactivated
v.2.2.0
- GND.save takes filename
- Fix GND.show(method='flam') handling xmin, xmax
- GND.show(method='stamp') takes dqon
v.2.1.0
- Add functionalities in GND.show(method='clean', traceon=True, zoom=True)
- Implement: photapcorr.py, mag2flux.py
v.2.0.0
- New APIs: gnd.py
- Demo provided
- Implement: grismapcorr.py, make_sip.py
v.1.3.1
- Fix import
v.1.3.0
- Implement: grismconf.py, gnd.py, grismsens.py
v.1.2.0
- Implement: sub2full.py
- Change: source.py to segmentation.py
- Fix description: segmentation.py
v.1.1.0
- Implement: container.py, source.py
- Fix description: dqmask.py
v.1.0.2
- Fix description of dqmask.py
v.1.0.1
- Fix import modules in dqmask.py
v.1.0.0
- Implement dqmask.py
Metadata
Release files for kbastroutils 2.6.2
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 |
|---|---|---|---|---|
| kbastroutils-2.6.2.tar.gz | 23.2 kB | Without provenance | Details for kbastroutils-2.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kbastroutils-2.6.2-py3-none-any.whl | Python 3 | none | any | Details for kbastroutils-2.6.2-py3-none-any.whl |
Total release size: 50.5 kB
Release files / kbastroutils-2.6.2.tar.gz
| Download URL | kbastroutils-2.6.2.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08399e047a6cfee9f788d62dfed9a7cdbda7b06f614d65f72765ff960784878c
|
|
BLAKE2b-256 checksum How to use checksums |
3b2a8dcb7c736b43aa916444d3b88ecc84c867734f7d71c7181adb67a0713fa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / kbastroutils-2.6.2-py3-none-any.whl
| Download URL | kbastroutils-2.6.2-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b00ae72166ec474eebf86607ca6c3a7554eb381dd03f2e8731138315a53fc5d5
|
|
BLAKE2b-256 checksum How to use checksums |
bb9d7013c855b53a5e44085f71172f6c68a33d3c861a6cf4e659af48098669fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for kbastroutils 2.6.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.