Commit 374ad778 authored by Roberto Susino's avatar Roberto Susino
Browse files

Fix error map selection in flat-field correction

parent b7057200
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ function metis_flat_field, data, header, cal_pack, err_info, quality_matrix = qu
        ff_info = cal_pack.vl_channel.flat_field

        ff_image = readfits(cal_pack.path + ff_info.file_name, /silent)
        ff_error = readfits(cal_pack.path + ff_info.file_name, exten_no = 1, /silent)
        ff_error = readfits(cal_pack.path + ff_info.error, /silent)
        ff_file = ff_info.file_name

        first_row = header.ref_rows eq 'Included' ? 2 : 0