Commit 0bb20fbd authored by Arthur Vigan's avatar Arthur Vigan
Browse files

Fix file name

parent c6b200ac
......@@ -830,7 +830,7 @@ for i in range(len(HA_vect)):
fits.setval(image_filename, 'APODIZER', value=APODIZER)
fits.setval(image_filename, 'FPM', value=FPM)
image_filename_nomask = path_directory + 'PSF_HALO_ON_notmasked_centered_Nexp{0:04d}.fits'.format(i)
image_filename_nomask = path_directory + 'PSF_HALO_ON_notmasked_notcentered_Nexp{0:04d}.fits'.format(i)
fits.writeto(image_filename_nomask, I_temp_nomask)
fits.setval(image_filename_nomask, 'ORIGIN', value='ESO-ARMAZONES')
fits.setval(image_filename_nomask, 'TELESCOP', value='ESO-ELT')
......
......@@ -116,17 +116,19 @@ def compute_image_at_wavelength(i, k):
if __name__ == '__main__':
# timing
start_time = time.time()
HARMONI_DIR = '/Users/avigan/data/HARMONI-HC/'
COM_DIR = '/Users/avigan/Work/HARMONI/Simulations/harmoni-hc/hrm-hc/common_files/'
# HARMONI_DIR = '/net/GSP/hirise/HARMONI-HC/'
# COM_DIR = '/home/avigan/GitHub/harmoni-hc/hrm-hc/common_files/'
# HARMONI_DIR = '/Users/carlotal/harmoni-hc/hrm-hc'
# COM_DIR = '/Users/carlotal/harmoni-hc/hrm-hc/COMMON_FILES/'
# find out how process was started
manual = False
if sys.argv[0] == 'MAIN_mp.py':
manual = False
HARMONI_DIR = '/net/GSP/hirise/HARMONI-HC/'
COM_DIR = '/home/avigan/GitHub/harmoni-hc/hrm-hc/common_files/'
# HARMONI_DIR = '/Users/carlotal/harmoni-hc/hrm-hc'
# COM_DIR = '/Users/carlotal/harmoni-hc/hrm-hc/COMMON_FILES/'
# Artifical dispersion corrector (dispersion is gamma times what it should be)
gamma = 1#%0.1;%1;
......@@ -863,7 +865,7 @@ if __name__ == '__main__':
# fits.setval(image_filename, 'APODIZER', value=APODIZER)
# fits.setval(image_filename, 'FPM', value=FPM)
image_filename_nomask = path_directory + 'PSF_HALO_ON_notmasked_centered_Nexp{0:04d}.fits'.format(i)
image_filename_nomask = path_directory + 'PSF_HALO_ON_notmasked_notcentered_Nexp{0:04d}.fits'.format(i)
fits.writeto(image_filename_nomask, I_temp_nomask.astype(np.float32))
fits.setval(image_filename_nomask, 'ORIGIN', value='ESO-ARMAZONES')
fits.setval(image_filename_nomask, 'TELESCOP', value='ESO-ELT')
......
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