Open migueldvb opened 8 years ago
Hm, I'm not sure I understand this either. Can you remind me what the last figure is showing? Is this an issue of extending the fit past the IRAF reference spectrum? This is a tricky issue, as it does try to smoothly extend it if needed.... which is dangerous!
In the last figure the red dots are the standard flux from the IRAF library and the black line is the observed standard with applied sensitivity function. The IRAF reference spectrum starts at 3200 Å so I have tried to clip the observed spectrum at 3300 Å but still this problem is present at the edge. I was wondering if you have noticed something similar with other standard stars.
I wonder if this would be fixed by #71...
I have tried to run flux calibration in pydis using the standard star G191b2b. These data cover the optical and near-UV region starting around 3000 Å. The sensitivity function using the IRAF libraries blows up at the blue end as shown in the figure below.
If the standard star spectrum is clipped to start around 3200 Å the result is better but when the sensitivity function is applied to the standard star data the result still is as shown in the figure below. Is this a problem with the interpolation in
DefFluxCal
?