Distinguishability test of simluated gravitational-wave (GW) signal pairs with mimicked time-dependent/-independent redshift.
Please run the following to compute the overlap and signal-to-noise ratio (SNR) of a simluated drifted-driftless GW signal pair:
# Build docker image
make build
# Start docker container
make args="<args>" start
# Remove all docker container
make clean
1. --psd <path to psd file> # default: config/lisa.txt
2. -H <Hubble constant> # default: 67.8 km/s/Mpc
3. -D <Initial luminosity distance (in Mpc)> # default: 1000 Mpc
4. --plot # default: False
# Simulate a drifted-driftless GW signal pair with H=67.8 km/s/Mpc, D=1000 Mpc.
# Visualize the frequency-domain GW pair.
make args="--plot" start
# Simulate a drifted-driftless GW signal pair with H=100 km/s/Mpc, D=4000 Mpc.
make args="-H 100 -D 4000" start
The configs of the base waveform, target waveform, and match can be adjusted in config/config.yaml
.
The script generates a .npy file, which contains the following:
├── Setting information:
│ ├── Initial luminosity distance of the simulated GW signal
│ └── Hubble constant
│
└── Statistics information:
├── Overlap of the drifted-driftless signal pair
├── SNR of the drifted signal
└── SNR of the driftless signal
Please run the following to set up the Jupyter server for development or data visualization:
# Set up Jupyter server (default port=8888 if no input)
# This is for development or data visualization
make port=<port> jupyter_up
# Kill Jupyter server
make jupyter_down
After set up the server, you can go to here and the password is driftsim
.
# Start docker container for develop
make develop
# Remove all docker container
make clean
Based on the approximation of Hubble's law