Open tamimfatahi opened 4 weeks ago
Can you also show the relative flux on those plots?
It's not clear to me what you're fitting. The airmass model should be compared to the relative flux after dividing out the transit (or on the out of transit baseline) not the actual airmass. The airmass is just used as an input.
Leaving this as draft for now as I am running into some issues that I'd like some advice on. Here is the thought process of the code:
Here are the issue I am running into:
After calculating the airmass model, it seems like the residuals are quite large and needs altering.
Here are the airmass plots for a variable star in the field:
Here it the predicted mag for the star ([VSX]()=14.86 - 15.67 V):
I thought the airmass plot code was off due to the model looking like the inverse. However, on a separate star from a different dataset, I got the following:
where the magnitude was calculated as shown here (VSX=14.43+/-0.42 CV):
Both are pretty off in their calculations of the magnitude. Any ideas what I could do differently?