Skip to content

liambrodie123/Eccentric-Waveform-Comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eccentric-Waveform-Comparison

For comparing eccentric and circular waveforms to calculate the mismatch, fitting factor, optimal SNR, and measured SNR from them. This script can be used for comparing any two time-domain waveforms!

The HinderEIMR folder contains HinderEIMR_waveform_comparison.py, a python script to generate the fitting factor, mismatch, optimal SNR, and measured SNR from the comparison between eccentric waveforms from Hinder et al., 2017 (the mathematica code to generate this is enclosed) and SEOBNRv4 (code to generate this waveform from pycbc is enclosed in the pycbc folder).

The mathematica code to generate the HinderEIMR waveforms is called waveform_generation_code.nb. This will output waveforms generated at different eccentricities as .dat files. The converting_HinderEIMR_outfile_data_to_hdf5.py script takes all of these generated .dat files and puts them inside a key inside an hdf5 file, something useful if you need different keys to represent different binary parameters. generating_hdf5_files_for_comparison_code.py generates a clean hdf5 file with the proper amount of empty arrays used to store the comparison data from HinderEIMR_waveform_comparison.py. Although the HinderEIMR_waveform_comparison.py script will automatically generate and store mismatch, fitting factor, optimal SNR, and measured SNR plots, the script plotting_HinderEIMR_comparison_data.py allows you to plot the data generated from HinderEIMR_waveform_comparison.py if you would prefer to generate plots externally.

About

For comparing eccentric and circular waveforms and calculating the mismatch, fitting factor, optimal SNR, and measured SNR from them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published