# Attempt at Multi-Aperture Photometry

**URL:** <https://community.openastronomy.org/t/attempt-at-multi-aperture-photometry/718>\
**Category:** Astropy\
**Created:** [August 10, 2023, 8:45pm UTC](https://community.openastronomy.org/t/attempt-at-multi-aperture-photometry/718 "2023-08-10T20:45:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjkoeller](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openastronomy.org/kjkoeller/32/386_2.png) [@kjkoeller](https://community.openastronomy.org/u/kjkoeller)\
**Post date:** [August 10, 2023, 8:45pm UTC](https://community.openastronomy.org/t/attempt-at-multi-aperture-photometry/718/1 "2023-08-10T20:45:01Z")

</div>

I am attempting to do multi-aperture photometry with ccdproc to calculate the magnitude for a target are given comparison stars. I am trying to follow this [paper’s](https://ui.adsabs.harvard.edu/abs/2017AJ....153...77C/abstract) calculation (Astro ImageJ) when it comes to the magnitude in Python. However, I get magnitudes of around -100 which is clearly unrealistic and I know the magnitude should be around -12. My project is located [here](https://github.com/kjkoeller/EclipsingBinaries/blob/main/EclipsingBinaries/multi_aperture_photometry.py).

Any help would be greatly appreciated.
