Include dag compatible mass-model-with-hard-cuts for pastro template-weights
Include pastro template weight calculation (needed for the fgmc pastro). Changes to scripts are done in a way that they take extra non-compulsory options which if provided will calculate mass model with hard cuts, ie one specific to source categories. Example usage:
Make gwsci-uber-dev container and install manifold
> export GWSCI=/path/to/gwsci-uber-dev
> mkdir -p /path/to/working/directory/mass-model-bbh
> cd /path/to/working/directory/mass-model-bbh
> scp $GWSCI/src/manifold/examples/mass_model_cut_bbh.yml .
> singularity exec ${GWSCI} manifold_cbc_bank_mass_model_dag --output-h5 H1L1V1-O4_MANIFOLD_BANK_SALPETER_BBH_-0-2000000000.h5 --bank-file /path/to/bank/H1L1V1-O4_MANIFOLD_BANK-0-2000000000.h5 --singularity-image ${GWSCI} -c --cut-yaml /full/path/to/mass_model_cut_bbh.yml
> condor_submit_dag manifold_cbc_bank_mass_model.dag
> singularity exec ${GWSCI} manifold_cbc_bank_plot_mass_model H1L1V1-O4_MANIFOLD_BANK_SALPETER-0-2000000000.h5 5
> singularity exec ${GWSCI} manifold_cbc_bank_plot_mass_model H1L1V1-O4_MANIFOLD_BANK_SALPETER-0-2000000000.h5 20
> singularity exec ${GWSCI} manifold_cbc_bank_plot_mass_model H1L1V1-O4_MANIFOLD_BANK_SALPETER-0-2000000000.h5 50
Plots: