-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create epochs to avoid using bad cal files with wrong polarizer angle(s) #336
Comments
Actually, there are many, many days with bad cal files with odd cal angles. These days must automatically catch the bad days. For some reason |
OK, |
- KCOR_CHECK_ANGLES was already checking to make sure every required angle was present in the calibration polarization angles. Now it checks to make sure every calibration polarization angle is in the required angles.
Reprocessing the mission #346 will address this issue. Closing. |
If required_angles = [0.0, 45.0, 90.0, 135.0], then previously checking if angles are required_angles or required_angles + 22.5. Now, checking to make sure required_angles are all present, and optionally allowing some required_angles + 22.5 to be present. No other angles allowed.
I reprocessed 20140102 in
I think this correctly corresponds to the three bad files in the
Interestingly, the # bad calpol angle
[20140102.090200]
process : NO
[20140102.091423]
process : YES |
If this works, we can probably remove a lot of bad cal file epochs. |
We should record the calibration files used in some way:
|
Mike:
|
There are already "Input File List" and "Input File Type" that list all the calibration files and their type used in the calibration. Need to fix those up. |
Producing cal files from the days with the given epochs removed and the new algorithm filtering files. Results are in |
For some reason, the last three files listed in |
In
|
Now using the KCOR_CHECK_ANGLES algorithm to find bad angles in the calibration files.
The new test dates with bad calibration polarization angle are processed. Results in |
Need to avoid using a number of calibration files that contain at least a few calibration polarizer images taken with the polarizer at the wrong angle: the polarizer was at 23.9 degrees instead of zero or 180 degrees. 23.9 degrees is NOT a invalid angle and will corrupt the integrity of the calibration. Need to:
Create epochs:
NEXT: Reprocess days impacted by bad cal files:
Tasks
kcor_check_angles
to return a mask array, instead of a single binary value, to check the files with dark=out, diff=in, calpol=in:required_angles = [0.0, 45.0, 90.0, 135.0]
degreesrequired_angles + 22.5
required_angles
orrequired_angles + 22.5
calibration_files.txt
inprocess
to make sure that the right files are eliminatedSummary
The pipeline now handles cal pol files with non-nominal angles — removing the observations with bad angles, but processing the rest of the cal data unless all the required angles are not present.
We verified that the changes made to remove the 'bad' angles from the calibration files was successful. The 'evil twin' CME on Dec 20 2014 (see 00:48 image further down in this ticket) was removed in the reprocessed data. We also examined the stability of the calibrated pB images (see pB plots from Dec 31, 2014 further down in this ticket). The pB calibration was much more stable over the day when the 'bad' calibration angles were removed.
The text was updated successfully, but these errors were encountered: