def neeleman13(): """ Build a summary file for the Neeleman+13 sample """ prefix = 'H100' outpath = os.getenv('DROPBOX_DIR') + '/Public/DLA/' + prefix + '/' dlasurvey = DLASurvey.from_flist('Lists/Neeleman13.lst', tree=os.environ.get('DLA')) dlasurvey.ref = 'Neeleman+13' # Reset vlim for dla in dlasurvey._abs_sys: dla.vlim = [-1000., 1000.] * u.km / u.s # Mask dlasurvey.mask = dlasurvey.NHI == dlasurvey.NHI # Json file for ions dlasurvey.fill_ions(use_Nfile=True) mk_json_ions(dlasurvey, prefix, outpath + prefix + '_DLA_ions.json') # Json files for .clm files mk_json_clms(dlasurvey, outpath + 'CLMS/', prefix) print('It is likely you wish to tarball the CLMS folder for distribution') # JSON SYS files (preferred) mk_json_sys(dlasurvey, outpath, prefix) # Summary file and spectra mk_summary(dlasurvey, prefix, outpath + prefix + '_DLA.fits', specpath=outpath + '/Spectra/', htmlfil=outpath + prefix + '_DLA.html')
def neeleman13(): """ Build a summary file for the Neeleman+13 sample """ prefix = "H100" outpath = os.getenv("DROPBOX_DIR") + "/Public/DLA/" + prefix + "/" dlasurvey = DLASurvey.from_flist("Lists/Neeleman13.lst", tree=os.environ.get("DLA")) dlasurvey.ref = "Neeleman+13" # Reset vlim for dla in dlasurvey._abs_sys: dla.vlim = [-1000.0, 1000.0] * u.km / u.s # Mask dlasurvey.mask = dlasurvey.NHI == dlasurvey.NHI # Json file for ions dlasurvey.fill_ions(use_Nfile=True) mk_json_ions(dlasurvey, prefix, outpath + prefix + "_DLA_ions.json") # Json files for .clm files mk_json_clms(dlasurvey, outpath + "CLMS/", prefix) print("It is likely you wish to tarball the CLMS folder for distribution") # JSON SYS files (preferred) mk_json_sys(dlasurvey, outpath, prefix) # Summary file and spectra mk_summary( dlasurvey, prefix, outpath + prefix + "_DLA.fits", specpath=outpath + "/Spectra/", htmlfil=outpath + prefix + "_DLA.html", )
def neeleman13(): """ Build a summary file for the Neeleman+13 sample """ prefix = 'H100' outpath = os.getenv('DROPBOX_DIR')+'/Public/DLA/'+prefix+'/' dlasurvey = DLASurvey.from_flist('Lists/Neeleman13.lst', tree=os.environ.get('DLA')) dlasurvey.ref = 'Neeleman+13' # Json file for ions dlasurvey.fill_ions(use_Nfile=True) mk_json_ions(dlasurvey, prefix, outpath+prefix+'_DLA_ions.json') # Json files for .clm files mk_json_clms(dlasurvey, outpath+'CLMS/', prefix) print('It is likely you wish to tarball the CLMS folder for distribution') # Summary file and spectra mk_summary(dlasurvey, prefix, outpath+prefix+'_DLA.fits', specpath=outpath+'/Spectra/', htmlfil=outpath+prefix+'_DLA.html')
def neeleman13(): """ Build a summary file for the Neeleman+13 sample """ prefix = 'H100' outpath = os.getenv('DROPBOX_DIR') + '/Public/DLA/' + prefix + '/' dlasurvey = DLASurvey.from_flist('Lists/Neeleman13.lst', tree=os.environ.get('DLA')) dlasurvey.ref = 'Neeleman+13' # Json file for ions dlasurvey.fill_ions(use_Nfile=True) mk_json_ions(dlasurvey, prefix, outpath + prefix + '_DLA_ions.json') # Json files for .clm files mk_json_clms(dlasurvey, outpath + 'CLMS/', prefix) print('It is likely you wish to tarball the CLMS folder for distribution') # Summary file and spectra mk_summary(dlasurvey, prefix, outpath + prefix + '_DLA.fits', specpath=outpath + '/Spectra/', htmlfil=outpath + prefix + '_DLA.html')