CFHT's Direct Imaging Exposure Time calculator (DIET)
Project description
PyDIET
PyDIET is CFHT's new Direct Imaging Exposure Time calculator.
Important
PyDIET is still in testing phase. The authors reserve the right to modify, update, or discontinue any aspect of the package at any time without notice. This includes, but is not limited to, changes in instrument models, calibration data, algorithms, or implementation details, which may result in differences in the outputs produced by PyDIET over time.
The authors shall not be liable for any direct, indirect, incidental, consequential, or special damages arising out of or in connection with the use of, or inability to use PyDIET including but not limited to errors in calculations, scientific results, or observational planning.
Installing
pip/pipx
git clone https://github.com/astromatic/pydiet
cd pydiet
pip install .
Docker
To build a Dockerfile for installing pyDiet:
docker build -t pydiet:latest -f docker/Dockerfile .
Run, get a shell, and python venv
docker run -tid --name pydiet pydiet
docker exec -ti pydiet "/bin/bash"
source venv_pydiet/bin/activate
Executing (locally)
pydiet -b
Customizing
PyDIET can easily be adapted to other astronomical imagers by simply editing the data/data_config.toml file in TOML format, and supplying pysynphot-compliant transmission/emission FITS files for the various parts of the instrument chain.
Use the provided utils/extract_filter.py script to convert ASCII tables to pysynphot-compliant FITS format.
The web interface can easily be customized to accomodate one or several instruments through query form and result display templates.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydiet-0.9.3.tar.gz.
File metadata
- Download URL: pydiet-0.9.3.tar.gz
- Upload date:
- Size: 21.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d07bc344a6c7c4aa09e6268843dad8393ad8e34f4e22963751dff9f8f45268
|
|
| MD5 |
b86d767cfd5da7f60e281f0aa25c1b63
|
|
| BLAKE2b-256 |
226ce087dac2c635d73648266010a96362490b5acedee606c923ba2e6b073a75
|
Provenance
The following attestation bundles were made for pydiet-0.9.3.tar.gz:
Publisher:
release.yml on astromatic/pydiet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydiet-0.9.3.tar.gz -
Subject digest:
e4d07bc344a6c7c4aa09e6268843dad8393ad8e34f4e22963751dff9f8f45268 - Sigstore transparency entry: 1310434703
- Sigstore integration time:
-
Permalink:
astromatic/pydiet@1fa2ef61df52dca4d777cc264d79c5cb589735dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/astromatic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1fa2ef61df52dca4d777cc264d79c5cb589735dd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pydiet-0.9.3-py3-none-any.whl.
File metadata
- Download URL: pydiet-0.9.3-py3-none-any.whl
- Upload date:
- Size: 21.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e36c9f78ceadc00dbc0ec3af1f441f155306ed7e1f580d06abec6a6eeb4a51e
|
|
| MD5 |
3aa49e7a617d96bc3ece09d006073374
|
|
| BLAKE2b-256 |
ed6b7aadc4c356b8e6d3f23f857530a27167e342e36c99e5dc18a9e50315b8b8
|
Provenance
The following attestation bundles were made for pydiet-0.9.3-py3-none-any.whl:
Publisher:
release.yml on astromatic/pydiet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydiet-0.9.3-py3-none-any.whl -
Subject digest:
3e36c9f78ceadc00dbc0ec3af1f441f155306ed7e1f580d06abec6a6eeb4a51e - Sigstore transparency entry: 1310434767
- Sigstore integration time:
-
Permalink:
astromatic/pydiet@1fa2ef61df52dca4d777cc264d79c5cb589735dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/astromatic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1fa2ef61df52dca4d777cc264d79c5cb589735dd -
Trigger Event:
workflow_dispatch
-
Statement type: