scottransom / presto

Open source pulsar search and analysis toolkit
http://www.cv.nrao.edu/~sransom/presto/
GNU General Public License v2.0
239 stars 177 forks source link

simple_zapbirds: find the last "_DM" in filename rather than the first #158

Closed kmjc closed 3 years ago

kmjc commented 3 years ago

Very minor change The script now looks for the last occurrence of "_DM" in the filename rather than the first.

Comes up if the original filterbank was coherently dedispersed and had a name like J1111+11_DM22_59877_pow.fil so the dedispersed fft's have names like J1111+11_DM22_59877_pow_DM76.42.fft It will now identify the DM as 76.42 not 22

scottransom commented 3 years ago

Yeah, that's probably a good change. Thanks!