Simple photon count utility for astronomical fluxes
Project description
How Many Bloody Photons
Tiny repo to calculate astronomical photon counts for various instruments
Install
pip install git+https://github.com/AstarVienna/HowManyBloodyPhotons.git
Basic usage
>>> from astropy import units as u
>>> import hmbp
Find the number of photons emitted by Vega in V band [ph s-1 m-2]::
>> > hmbp.in_zero_vega_mags("V")
Find the number of photons emitted by a Ks=20 [ABmag] point source through the HAWKI Ks filter::
>> > hmbp.for_flux_in_filter("Ks", 20 * u.ABmag,
observatory="Paranal",
instrument="HAWKI")
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
HowManyPhotons-0.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for HowManyPhotons-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10cd8172a3ef34ceef40f36b555078e5ba9f40ff4b5bfce47f566a1fec092188 |
|
MD5 | 83725a604ef549469b6a9681e43b64fd |
|
BLAKE2b-256 | f344bd941f80b1fb5ac87349004d3a9fc55710debae355b04e82e74ed0d55bb9 |