analysis.CLOBBER = False # specify dataset exptypes and expids analysis.specify_dataset('bias stack', 5310, 5320, 'bias') analysis.specify_dataset('dark stack', 6172, 6182, 'dark', bias_name='bias') analysis.specify_dataset('image stack', 1000, 1001, '1s', bias_name='bias', dark_name='dark') analysis.specify_dataset('image stack', 1002, 1003, '2s', bias_name='bias', dark_name='dark') analysis.read_datasets_header() # reduce datasets, order is important analysis.reduce_stack('bias') analysis.reduce_stack('dark') analysis.reduce_image_stack('1s') analysis.reduce_image_stack('2s') analysis.photometry('1s') analysis.photometry('2s') analysis.dump_dict() analysis.load_dict() analysis.plot_flats(['1s', '2s'])
dither_grid = (5, 5), dither_step = 0.5) analysis.specify_dataset('image sequence', 4192, 4216, '33022_2', bias_name = 'bias', dark_name = 'dark', tile_id = '33022', focus = -11166, dither_mode = 'positioner', dither_grid = (5, 5), dither_step = 0.5) analysis.read_datasets_header() # reduce datasets, order is important analysis.reduce_stack('bias') analysis.reduce_stack('dark') analysis.reduce_image_sequence('33022_1') analysis.reduce_image_sequence('33022_2') analysis.photometry('33022_1') analysis.photometry('33022_2') analysis.dump_dict() analysis.load_dict() analysis.plot_dither_2d('33022_1') analysis.plot_dither_2d('33022_2') analysis.plot_dither_3d('33022_1') analysis.plot_dither_3d('33022_2')