| 3 | | I've regenerated all the linearity data, refit it all, and tested some correction code that seems to repair some of the issues. This reprocessing was needed to fix two errors I made the first time: |
| 4 | | 1. The original data had been dark corrected, confusing the reason why things weren't linear. This analysis now uses the raw images. |
| 5 | | 1. I mislabeled rows and columns because I read my own code wrong. All row/column data in this analysis is labeled xXXX or yYYY to denote the single x or y value that was held constant while the median was taken over that row or column. |
| | 5 | The final linearity correction is actually more of a flux dependent bias level. The method used to generate the correction data was: |
| | 6 | 1. Run ppImage on input flat images with nothing but the OVERSCAN correction enabled. |
| | 7 | 1. Measure cell and edge row/column median values. |
| | 8 | 1. Foreach chip/cell/region/observation date, find the best fit trend `f_region = gain * t_exp + bias_0` over a range of exposure times `3 < t_exp < 12`. |
| | 9 | 1. Define the expected model value as `MODEL = gain * t_exp` and correction `CORR = f_region - (gain * t_exp)`. This ensures that the bias offset bias_0 is included in the correction. |
| | 10 | 1. Foreach exptime/chip/cell/region, take the median of all correction values and fluxes, and write the table of `(flux,correction)` pairs. |
| | 11 | 1. Apply the correction by linear interpolation of the pairs for the appropriate chip/cell/region. |
| 11 | | The model is calibrated by fitting the observed data between taken with exposure times between 12 and 50 seconds. The correction code samples this model once for each exposure times input, and calculates the ratio of the model to the observed fluxes. The set of (observed flux,ratio) samples from the reference data (chosen as the 2010-07-02 "linearity" data) are then linearly interpolated based on the observed flux values in the test data. |
| 12 | | |
| 13 | | John pointed out that the edges that seem to have significant issues do not correlate with what I observed in January ([wiki:EdgeRolloff]). I do not currently know if this is a labeling issue or due to some camera change. |
| 14 | | |
| 15 | | = Cell Level = |
| 16 | | || Configuration || Date || Cell linearity deviations || Corrected deviations || |
| 17 | | || linearity ||2010-07-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity.cell.small.png, 400px)]] || |
| 18 | | || linearity2 ||2010-07-21|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity2.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity2.cell.small.png, 400px)]] || |
| 19 | | || linearity_std ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_std.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_std.cell.small.png, 400px)]] || |
| 20 | | || linearity_utest1 ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_utest1.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_utest1.cell.small.png, 400px)]] || |
| 21 | | || linearity_utest1a ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_utest1a.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_utest1a.cell.small.png, 400px)]] || |
| 22 | | || linearity3_std ||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_std.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_std.cell.small.png, 400px)]] || |
| 23 | | || linearity3_utest1 ||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_utest1.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_utest1.cell.small.png, 400px)]] || |
| 24 | | || linearity3_utest1a||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_utest1a.cell.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_utest1a.cell.small.png, 400px)]] || |
| 25 | | |
| 26 | | = x001 = |
| 27 | | || Configuration || Date || Cell linearity deviations || Corrected deviations || |
| 28 | | || linearity ||2010-07-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity.x001.small.png, 400px)]] || |
| 29 | | || linearity2 ||2010-07-21|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity2.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity2.x001.small.png, 400px)]] || |
| 30 | | || linearity_std ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_std.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_std.x001.small.png, 400px)]] || |
| 31 | | || linearity_utest1 ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_utest1.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_utest1.x001.small.png, 400px)]] || |
| 32 | | || linearity_utest1a ||2010-07-28|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity_utest1a.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity_utest1a.x001.small.png, 400px)]] || |
| 33 | | || linearity3_std ||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_std.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_std.x001.small.png, 400px)]] || |
| 34 | | || linearity3_utest1 ||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_utest1.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_utest1.x001.small.png, 400px)]] || |
| 35 | | || linearity3_utest1a||2010-08-02|| [[Image(source:/trunk/doc/wiki_data/detector_linearity/data/data_linearity3_utest1a.x001.small.png, 400px)]] || [[Image(source:/trunk/doc/wiki_data/detector_linearity/corrected/corrected_linearity3_utest1a.x001.small.png, 400px)]] || |
| 36 | | |
| 37 | | == More images == |
| 38 | | |
| 39 | | I've placed the full set of data/correction images for the edges here: |
| 40 | | * [wiki:DetectorLinearity_AllEdges] |
| 41 | | * [wiki:DetectorLinearity_LeftEdge] |
| 42 | | * [wiki:DetectorLinearity_RightEdge] |
| 43 | | * [wiki:DetectorLinearity_BottomEdge] |
| 44 | | * [wiki:DetectorLinearity_TopEdge] |
| | 17 | [[Image(o5523g0616o_XY24.png)]] |