Open stscijgbot-jp opened 6 months ago
Kenneth MacDonald This is simulated data, right? Do you think this is best addressed by updating the truth test file to use flight data instead, or is it showing us something about the code that needs to be fixed for flight data as well?
Issue JP-3561 was created on JIRA by Kenneth MacDonald:
During regression, in the jump file used to create test data to be checked against a truth file
test_nirspec_irs2_detector1_rtdata_modulecurrent/jw0010010_11010_nrs1_chimera_rateints.fits
has invalid data that is flagged as GOOD for ramp fitting. As an example pixel, in the jump file that is used to create the above rateints file, the pixel ramp for (172, 682) has the following data with the following DQ flags when entering ramp fitting:
data[0, :, 172, 682] = np.array([-2.4926656e+07, -1.1489452e+09, -6.4948192e+08, -1.1097796e+08, 4.0666160e+06, 1.7508144e+08, 1.8980417e+09])
gdq[0, :, 172, 682] = np.array([0, 4, 4, 4, 0, 4, 4])