Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gw_inference [2023/06/13 16:11] theoastro |
gw_inference [2023/06/25 15:26] (current) theoastro |
||
---|---|---|---|
Line 30: | Line 30: | ||
| | ||
| | ||
- | ################################################################################ | + | |
## Job submission arguments | ## Job submission arguments | ||
################################################################################ | ################################################################################ | ||
Line 45: | Line 45: | ||
time-marginalization=False | time-marginalization=False | ||
| | ||
+ | ################################################################################ | ||
+ | ## Prior arguments | ||
+ | ################################################################################ | ||
+ | | ||
+ | prior-file = GW170817.prior | ||
+ | | ||
+ | ################################################################################ | ||
+ | ## Waveform arguments | ||
+ | ################################################################################ | ||
+ | | ||
+ | frequency-domain-source-model = lal_binary_neutron_star | ||
+ | waveform_approximant = IMRPhenomPv2_NRTidalv2 | ||
+ | binary-type=BNS | ||
+ | | ||
+ | ################################################################################ | ||
+ | ## EOS arguments | ||
+ | ################################################################################ | ||
+ | | ||
+ | with-eos=True | ||
+ | eos-data=./ | ||
+ | Neos=x< | ||
+ | eos-weight=./ | ||
- | For inferring the source properties of GW170817, we will sample over a set of EOSs that were computed with Chiral Effective Field Theory. The EOS set '' | + | |
+ | The trigger time is the time of the observed event. With regard to detector arguments, one has to specify which detectors should be used. For example, detectors = [H1, L1, V1] stand for LIGO detectors Hanford, Livingston and Virgo. For each detector, the noise power spectral density of gravitational wave detector needs to be provided. Within '' | ||
+ | |||
+ | With regard to likelihood arguments, we can specify if want a marginal likelihood that has been integrated over the parameter space, e.g. for distance, phase, or time. The prior file should be tailored to the observed event, in this case GW170817 but also with regard to the GW model that is used for the parameter estimation. The GW model can be specified in '' | ||
+ | |||
+ | For inferring the source properties of GW170817, we will sample over a set of EOSs that were computed with Chiral Effective Field Theory. The EOS set '' | ||
+ | |||
+ | Once the '' | ||
+ | |||
+ | # | ||
+ | #SBATCH -p < | ||
+ | #SBATCH --job-name=GW170817 | ||
+ | #SBATCH --nodes=17 | ||
+ | #SBATCH --ntasks-per-node=48 | ||
+ | #SBATCH --time=48: | ||
+ | #SBATCH -o outdir/ | ||
+ | #SBATCH -e outdir/ | ||
+ | #SBATCH -D ./ | ||
+ | #SBATCH --export=NONE | ||
+ | #SBATCH --no-requeue | ||
+ | #SBATCH --account=< | ||
+ | #SBATCH --mail-type=BEGIN, | ||
+ | #SBATCH --mail-user=< | ||
+ | |||
+ | module load slurm_setup | ||
+ | module load python/ | ||
+ | source < | ||
+ | |||
+ | export SLURM_EAR_LOAD_MPI_VERSION=" | ||
+ | export MKL_NUM_THREADS=" | ||
+ | export MKL_DYNAMIC=" | ||
+ | export OMP_NUM_THREADS=1 | ||
+ | export MPI_PER_NODE=48 | ||
+ | |||
+ | mpiexec -n $SLURM_NTASKS nmma_gw_analysis outdir/ | ||
+ | |||
+ | The final posterior samples for the observed event GW170817 can be found under '' | ||
==== Inference of injected GW signals ==== | ==== Inference of injected GW signals ==== | ||
+ | For synthetic signals, the `config.ini` file needs to be slightly adapted. First of all, some injection specific flags need to be provided which are listed below: | ||
+ | |||
+ | ################################################################################ | ||
+ | ## Injection arguments | ||
+ | ################################################################################ | ||
+ | |||
+ | injection = True | ||
+ | n-simulation = 1 | ||
+ | injection-file = ./ | ||
+ | injection_numbers=[0] | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Moreover, other flags which are related to an observed event should be commented out such as trigger time and provided observational data. The rest remains the same as shown above for the case of an observed GW event. | ||
Last modified: le 2023/06/13 16:11