Sign inSign up

iphysresearch/gwave

By iphysresearch

•Updated over 7 years ago

Computes the strain on a detector given a GW from SEOBNREv1 (1.0.0) or SEOBNREv4 (3.0.0)

Image
1

474

iphysresearch/gwave repository overview

⁠Usage for 3.0.0 (SEOBNREv4)

  • Pull the repo to your local env.:
docker pull iphysresearch/gwave:3.0.0
  • Check the docker image:
docker images
  • Use it like API (a container):
docker run --rm iphysresearch/gwave:3.0.0 SEOBNREv4 --help     # see SEOBNREv4 options
docker run --rm iphysresearch/gwave:3.0.0 DETECTOR --help     # see DETECTOR options
docker run --rm iphysresearch/gwave:3.0.0 SEOBNREv4 --m1 10 --m2 10 > simulation.dat   # h+/hx strain from BBH source
# the strain for H1 detector
docker run --rm iphysresearch/gwave:3.0.0 DETECTOR -D H1 -a 1:23:45 -d 45.0 -p 30.0 -t 1000000000 \
< simulation.dat > file    
  • All in one
docker run --rm iphysresearch/gwave:3.0.0 \
SEOBNREv4 --m1 10 --m2 10 \
DETECTOR -D H1 -a 1:23:45 -d 45.0 -p 30.0 -t 1000000000  > file
  • FYI: The core script (/waveform/setup.sh) for the API:

    # pwd: /waveform/
    ./SEOBNREv4 $Sparam --verbose --output | ./DETECTOR $Dparam
    

    Dockerfile example:

    FROM iphysresearch/gwave:2.0.5
    
     COPY . /waveform
    
     WORKDIR /waveform
    
     #RUN cd ./SEOBNRE_v4/
    
     #RUN cd ./detector_strain_3_8
    
     #RUN make clean
    
     #RUN make
    
     #RUN rm /waveform/DETECTOR
    
     #RUN ln -s /waveform/detector_strain_3_8/MYdetector_strain /waveform/DETECTOR
    
     ENV VERSION=3.0.0
    
     ENTRYPOINT ["bash", "setup.sh"]
     #ENTRYPOINT
    
     #FROM iphysresearch/gwave:1.0.0
     
     #COPY . /waveform
     
     #WORKDIR /waveform
     
     #RUN cd ./SEOBNRE_v4/
     
     #RUN make
     
     #RUN cd ../
     
     #RUN ln -s /waveform/SEOBNRE_v4/SEOBNRE /waveform/SEOBNRE \
     #   && ln -s /app/detector_strain/MYdetector_strain /waveform/DETECTOR
     
     #ENV VERSION=2.0.0
     
     #ENTRYPOINT ["bash", "setup.sh"]
     
     #ENTRYPOINT ["/bin/bash"]
    

⁠Usage for 1.0.0 (SEOBNREv1)

  • Pull the repo to your local env.:
docker pull iphysresearch/gwave:1.0.0
  • Check the docker image:
docker images
  • Use it like API (a container):
docker run --rm iphysresearch/gwave:1.0.0 SEOBNRE --help     # see SEOBNRE options
docker run --rm iphysresearch/gwave:1.0.0 DETECTOR --help     # see DETECTOR options
docker run --rm iphysresearch/gwave:1.0.0 SEOBNRE --m1 10 --m2 10 > simulation.dat   # h+/hx strain from BBH source
# the strain for H1 detector
docker run --rm iphysresearch/gwave:1.0.0 DETECTOR -D H1 -a 1:23:45 -d 45.0 -p 30.0 -t 1000000000 \
< simulation.dat > file    
  • All in one
docker run --rm iphysresearch/gwave:1.0.0 \
SEOBNRE --m1 10 --m2 10 \
DETECTOR -D H1 -a 1:23:45 -d 45.0 -p 30.0 -t 1000000000  > file
  • FYI: The core script (/waveform/setup.sh) for the API:
    ./SEOBNRE $Sparam --verbose --output | ./DETECTOR $Dparam
    

Tag summary

Content type

Image

Digest

Size

6.5 GB

Last updated

over 7 years ago

docker pull iphysresearch/gwave:pycbc