Methodological advances in source and attenuation studies from the inversion of rise times of P pulses recorded at a local scale