-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalizing multiple target stars #137
Comments
Steps (that I see so far):
NOTE: We SHOULD NOT find new reference stars every time, and we SHOULD NOT run photometry on the reference stars multiple times (unnecessary overhead) |
Changed line 131 in mags.py to read: |
|
Made the changes of steps 3 and 4, but the IndexError remains. I don't know why though. |
Caught the error: target is being shortened by removing wherever there are zeros in target['x'], but ims are not being shortened to have those same indices. Change solved that error. |
Rearranging code so that the instrumental magnitude for comp_stars are calculated before the target instrumental magnitude so that a comparison can be made between them to find reference stars that are brighter than the target star. First, and second run through worked. |
Increasing the search radius to 0.04 (from 0.03) fixes this problem. It is clear that developing an adaptive method to find reference stars is essential. |
The errors are still large, so checking if increasing the radius to 0.05 helps (for the first three stars) |
Choosing reference stars issue has been resolved, and methodology has been changed to using a linear fit on the reference stars and using that to correct the target star magnitude. This is a simple photometric process. Now we need to ensure that the program is tested, and is written more efficiently. Currently, the program uses a lot of memory. Also, the click command norm_sources is not implemented. This needs some testing of collate and the performance of subtract. Then we can generalize the code to perform normalization for all the variable stars in the image at once.
Originally posted by @PK0207 in #82 (comment)
Now that the reference stars are chosen, and the normalization method we used has been proven to work, the next step is to make it so that we can feed a list of target stars into the script, and produce lightcurves for all of the sources found. For now, this can still be an unautomated process.
The script to implement this on is on the mags_testing branch, called
mags.py
.The text was updated successfully, but these errors were encountered: