In this case, we have the same frames available as in the previous example, but now we want to correct for bad columns. We first show how to do this interactively and then how to do it using a table.
AVERage/IMAge DARKAV = DARK01,DARK02,DARK03,DARK04This example is like the previous one except that this time, the average dark and average flat fields are corrected for low sensitivity columns and the final data frames also. The table BADCOL contains the list of low sensitivity columns which are to be corrected.
AVERage/IMAge FLATAV = FLATR1,FLATR2,FLATR3
$ COPY MID$DISK:[SYSMIDAS.PROC]BADCOL.TBL *.*
MODIfy/COLumn FLATAV,BADCOL FLATAV2 C
MODIfy/COLumn DARKAV,BADCOL DARKAV2 C
COMPute/IMAge DENOM = FLATAV2-DARKAV2
COMPute/IMAge N5126RF = (N5126R-DARKAV2)/DENOM
COMPute/IMAge N7794RF = (N7794R-DARKAV2)/DENOM
MODIfy/COLumn N5126RF,BADCOL CLR5126 C
MODIfy/COLumn N7794RF,BADCOL CLR7794 C