Currently, there are "if 'NIRC2'" conditions in the code for linearity correction (calib.py and data.py). These should be pushed down to instrument.py and handled in lin_correction.py. For instance, if the coefficients are None, don't bother doing any linearity correction.