Skip to content
Snippets Groups Projects
Commit e2817aff authored by Chad Hanna's avatar Chad Hanna
Browse files

Makefile.treebank cleanup

parent 9d8017a8
No related branches found
No related tags found
No related merge requests found
......@@ -11,18 +11,18 @@ FLOW = 30
all : banksim_match_vs_injm1.png
treebank.xml.gz:
../treebank --verbose --approximant IMRPhenomD --max-mass1 $(M1bf) --max-mass2 $(M2bf) --min-mass2 $(M2bi) --min-mass1 $(M1bi) --min-match 0.97 --flow $(FLOW) --psd-file psd.xml.gz
gstlal_inspiral_treebank --verbose --approximant IMRPhenomD --max-mass1 $(M1bf) --max-mass2 $(M2bf) --min-mass2 $(M2bi) --min-mass1 $(M1bi) --min-match 0.97 --flow $(FLOW) --psd-file psd.xml.gz
H1-SBANK_SMALL-0-999999999.xml.gz:
# This produces 1269 templates
lalapps_cbc_sbank --verbose --approximant IMRPhenomD --mass1-min $(M1bi) --mass1-max $(M1bf) --mass2-min $(M2bi) --mass2-max $(M2bf) --flow 30 --reference-psd test.xml.gz --user-tag SMALL --instrument H1 --spin1-min 0 --spin1-max 0 --checkpoint 50 --iterative-match-df-max 2.0 --coarse-match-df 2.0
# This produces 1269 templates
lalapps_cbc_sbank --verbose --approximant IMRPhenomD --mass1-min $(M1bi) --mass1-max $(M1bf) --mass2-min $(M2bi) --mass2-max $(M2bf) --flow 30 --reference-psd test.xml.gz --user-tag SMALL --instrument H1 --spin1-min 0 --spin1-max 0 --checkpoint 50 --iterative-match-df-max 2.0 --coarse-match-df 2.0
H1-TMPLTBANK_H1_BNS_NSBH_BBH-941365351-2048.xml.gz:
# I've written here PhenomB, but I don't think lalapps_tmpltbank actually uses the approximant for anything.
# I'm using an aLIGO HPZD noise model here
# Is the PN order correct?
# This produces 57465 templates!
lalapps_tmpltbank --grid-spacing Hexagonal --space Tau0Tau3 \
# I've written here PhenomB, but I don't think lalapps_tmpltbank actually uses the approximant for anything.
# I'm using an aLIGO HPZD noise model here
# Is the PN order correct?
# This produces 57465 templates!
lalapps_tmpltbank --grid-spacing Hexagonal --space Tau0Tau3 \
--order twoPN --minimal-match 0.97 --spectrum-type aLIGOZDHiP \
--minimum-mass 1.0 --maximum-mass 99.0 --max-total-mass 100.0 \
--approximant IMRPhenomB --low-frequency-cutoff $(FLOW) \
......@@ -34,8 +34,8 @@ H1-TMPLTBANK_H1_BNS_NSBH_BBH-941365351-2048.xml.gz:
H1-TMPLTBANK_H1_SMALL-941365351-2048.xml.gz:
# This produces 3248 templates!
lalapps_tmpltbank --grid-spacing Hexagonal --space Tau0Tau3 \
# This produces 3248 templates!
lalapps_tmpltbank --grid-spacing Hexagonal --space Tau0Tau3 \
--order twoPN --minimal-match 0.97 --spectrum-type aLIGOZDHiP \
--minimum-mass $(M1bi) --maximum-mass $(M1bf) \
--approximant IMRPhenomB --low-frequency-cutoff $(FLOW) \
......@@ -47,20 +47,20 @@ H1-TMPLTBANK_H1_SMALL-941365351-2048.xml.gz:
# For some crazy reason, if I add --max-total-mass 100, I get 2x more templates!?
HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml:
lalapps_inspinj --max-mass1 $(M1f) --max-mass2 $(M2f) --min-mass2 $(M2i) --min-mass1 $(M1i) --m-distr componentMass --max-spin1 0.0 --max-spin2 0.0 --time-step 1 --taper-injection startend --gps-end-time 1000010000 --min-distance 10000 --max-distance 1000000 --waveform IMRPhenomD --polarization uniform --gps-start-time 1000000000 --l-distr random --d-distr volume --i-distr uniform --max-inc 179.99 --min-spin2 0.0 --min-spin1 0.0 --enable-spin --f-lower $(FLOW) --seed 1234 --output HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml
lalapps_inspinj --max-mass1 $(M1f) --max-mass2 $(M2f) --min-mass2 $(M2i) --min-mass1 $(M1i) --m-distr componentMass --max-spin1 0.0 --max-spin2 0.0 --time-step 1 --taper-injection startend --gps-end-time 1000010000 --min-distance 10000 --max-distance 1000000 --waveform IMRPhenomD --polarization uniform --gps-start-time 1000000000 --l-distr random --d-distr volume --i-distr uniform --max-inc 179.99 --min-spin2 0.0 --min-spin1 0.0 --enable-spin --f-lower $(FLOW) --seed 1234 --output HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml
treebank.h5: treebank.xml.gz HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag treebank
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag treebank
sbank.h5: H1-SBANK_SMALL-0-999999999.xml.gz HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag sbank
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag sbank
tmpltbank.h5: H1-TMPLTBANK_H1_SMALL-941365351-2048.xml.gz HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag tmpltbank
lalapps_cbc_sbank_sim --template-bank $< --injection-file HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml --injection-approx IMRPhenomD --verbose --flow 30.0 --template-approx IMRPhenomD --cache-waveforms --reference-psd psd.xml.gz --instrument=H1 --user-tag tmpltbank
%_match_vs_injm1.png: %.h5
lalapps_cbc_sbank_plot_sim $<
banksim_match_vs_injm1.png: %.h5
lalapps_cbc_sbank_plot_sim $<
clean :
rm treebank.xml.gz HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml banksim.h5 *.png
\ No newline at end of file
rm treebank.xml.gz HL-INJECTIONS_1234_IMRPD-1000000000-10000.xml banksim.h5 *.png
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment