Astropy and Photutils for photometry

Hi, I'm trying to do photometry on the attached FITS file. I'm trying to determine the optimum aperture to get the best signal-to-noise ratio.

I'm very inexperienced at Python and have never used astropy or photutils before. I'm mostly experienced with pandas dataframes.

I'm having difficulty doing what I would have thought would be a simple calculation:

# signal = (aperture_sum - (annulus_median * area_of_aperture)) * GAIN

# noise = sqrt(aperture_sum * GAIN)

However, I'm at a loss for how to get this to work because of various factors like results having dimensions that I can't turn into scalars.

I'm looking for someone who can help modify the attached Jupyter notebook in such a way that it can calculate the optimal aperture for the observation. I have 11 other observations to do the same with, so a template that I can just change the file name for would be optimal. The signal-to-noise can be taken as the average for the perhaps 10-20 brightest objects in the observation.

Again, I'm a complete novice at this, soI'm not even fully-aware of what it is I'm even asking to be done in terms of code. Happy to answer any questions that I can!

Skills: Python, Mathematics, Statistics, Astrophysics, Physics

About the Client:
( 1 review ) Northampton, United Kingdom

Project ID: #33797768

5 freelancers are bidding on average £186 for this job


Professional software developer with over 15 years of overall experience in software development and maintenance looking for challenge projects fit my skills. Main specialization: * developing Windows Desktop and Web More

£244 GBP in 7 days
(3 Reviews)
(3 Reviews)

Hi.Dear... Nice to meet you. I saw your project details carefully. Thanks for your posting. I am expert in Python and Matlab programming. I am working in this this field for 5 years. I have many experiences and I think More

£100 GBP in 3 days
(2 Reviews)

Hi, Manager I am very interested in your project as am python expert. I have some exp with such this project. Please contact em for discussing more, I want to work with you. Looking forward for your response. Thanks.

£200 GBP in 7 days
(3 Reviews)

MASTERS IN APPLIED MATHEMATICS HELLO DEAR CLIENT I have gone through your project details, having all the required skills and VAST EXPERIENCE.I confirm to you that the project is doable since its within my area of EXPE More

£135 GBP in 3 days
(0 Reviews)