Metadata-Version: 2.1
Name: HowManyPhotons
Version: 0.1
Summary: Simple photon count utility for astronomical fluxes
Home-page: https://github.com/AstarVienna/HowManyBloodyPhotons
Author: Kieran Leschinski
Author-email: kieran.leschinski@unive.ac.at
License: GNU General Public License v3
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Astronomy
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: astropy
Requires-Dist: scopesim

# 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

```python
>>> from astropy import units as u
>>> import hmbp
```

Find the number of photons emitted by Vega in V band [ph s-1 m-2]::

```python
>> > hmbp.in_zero_vega_mags("V")
```

Find the number of photons emitted by a Ks=20 [ABmag] point source through
the HAWKI Ks filter::

```python
>> > hmbp.for_flux_in_filter("Ks", 20 * u.ABmag,
                             observatory="Paranal",
                             instrument="HAWKI")
```


