EoRImaging / eppsilon

eppsilon - error propagated power spectrum with interleaved observed noise
BSD 2-Clause "Simplified" License
5 stars 4 forks source link

Finding pols in file names #149

Open nicholebarry opened 2 years ago

nicholebarry commented 2 years ago

Line 114 in fhd_file_setup looks for the polarization names in the file name: pol_exist = stregex(datafile, '[xy][xy]', /boolean, /fold_case)

This has unintended behaviour if a pol name exists in the file name within a word. For example, the polarization xy will be pulled from file names that have the word galaxy even if the xy polarization does not exist.