Commit 52dcdbd0 authored by jonas's avatar jonas
Browse files

flip check

parent 3d99cf1a
......@@ -198,6 +198,8 @@ def phihrt_pipe(data_f, dark_f = '', flat_f = '', scale_data = True, norm_f = Tr
data_arr[scan] *= 81920/127 #conversion factor if 16 bits
if 'IMGDIRX' in hdr_arr[scan] and hdr_arr[scan]['IMGDIRX'] == 'YES':
print("This scan has been flipped in the Y axis to conform to orientation standards.")
#--------
# test if the scans have different sizes
......
......@@ -51,7 +51,7 @@ def fits_get_sampling(file,verbose = False):
From SPGPylibs PHITools
'''
print('-- Obtaining voltages......')
#print('-- Obtaining voltages......')
fg_head = 3
try:
with fits.open(file) as hdu_list:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment