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
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 likeJ1111+11_DM22_59877_pow_DM76.42.fft
It will now identify the DM as 76.42 not 22