Python script to calculate the speed of sound and attenuation coefficient in air
datasetposted on 13.04.2017 by Jami Johnson
Datasets usually provide raw data for analysis. This raw data often comes in spreadsheet form, but can be any collection of data, on which analysis can be performed.
This code calculates the speed of sound and frequency-dependent attenuation coefficient in air, given acoustic (laser-ultrasound) data recorded at various distances from source to detector. PALplots functions are used for visualization: https://github.com/PALab/palplots.