Skip to main content

No project description provided

Project description


This is a collection of modules for analyses related to astrophysics by Dr. Kornpob Bhirombhakdi. Contact:

Tasks include:

- = handle data quality (DQ) arrays

- = handle declaring attibutes given keys and values

- = wrapper for making a segmentation map (used to be in version < 1.2.0)

- = mapping a subarray image back to its full frame

- = wrapper, and main class for grism reduction

- = read conf file for grism reduction

- = read sens file for grism reduction

- = read aperture correction table, and calculate aperture correction factor

- = construct meta info

- = calculate Simple Imaging Polynomial (SIP)

- = read photometric calibration table, and prepare calibration factors (i.e., encircled energy correction, and photometric AB zeropoint)

- = converting ABmag to flam

Known issues:

- ACS photometric zeropoints are set to 0.

- Memory

- No description/documentation

- Handling other telescopes




- WFC3 subarray

- drz gets brighter about 10%

- test new code with ACS-WFC, and other WFC3-IR


- Combine 1D spectra

- Use assertion for error handling (

- HST-ACS-WFC flux calibration

- Fix drz getting brigther


- Implement ACS subarray

- Implement ('HST','ACS','WFC') as identifier

- Implement,,,

- Change,,,


- Implement

- 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


- 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

-'meta', output=True) returns the table instead of displaying it

- GND.make_drz() is deactivated


- takes filename

- Fix'flam') handling xmin, xmax

-'stamp') takes dqon


- Add functionalities in'clean', traceon=True, zoom=True)

- Implement:,


- New APIs:

- Demo provided

- Implement:,


- Fix import


- Implement:,,


- Implement:

- Change: to

- Fix description:


- Implement:,

- Fix description:


- Fix description of


- Fix import modules in


- Implement

Project details

Release history Release notifications | RSS feed

Download files

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

Source Distribution

kbastroutils-2.6.2.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

kbastroutils-2.6.2-py3-none-any.whl (27.4 kB view hashes)

Uploaded Python 3

Supported by

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