rose is a framework to visualize gravitational-wave radiation using ParaView.
It is based on gwpv written by Nils Vu. Check it out!
The name rose comes from the flower shapes of gravitaional emission of compact binary coalescences.
Detrás de los zarzales salvajes de tu pecho
Hay una rosa que deslumbrará todo el jardín
Ruido - La Prohibida
- Create and activate Mamba/Conda environment with the Python version matching the one in ParaView
- Install the dependencies
- Start ParaView using
rose-pvscript to automatically load the plugins - Open the waveform files and setup the scene, and export the frames
- Run the overplotting script to add legends, text, logos, and other data
- Combine the frames into a video
- Enjoy the results!
- Install Miniforge using the command below:
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
In case you don't have internet access on the remote: use mitten instead of ssh to pass your internet connection to the remote.
-
Find the exact Python version your ParaView has. Go to ParaView->About ParaView and note down the "Python Library Version". For example, my ParaView 5.13.1 has Python 3.10.13.
-
Create and activate the Mamba environment for
rosewith the matching Python version and dependencies:
mamba create -y -n rose python=3.10.13 numpy scipy psutil astropy h5py spherical scri spherical_functions
mamba activate rose- From the
rosedirectory root, start ParaView viarose-pvscript by specifying path to your ParaView binary,
./rose-pv /path/to/paraviewor the application in case of macOS:
./rose-pv /Applications/ParaView-5.13.1.appThat will start the ParaView and load all rose plugins.
- Now you are ready to open your waveform files using the appropriate reader. For example,
rhOverM_Asymptotic_GeometricUnits_CoM.h5usingEnergyFluxVolumeReader. Note that at the momementrosesupports only extrapolated waveforms in SXS catalog format, cf. Appendix A.3.1 of Boyle:2019kee.
Running locally on your machine might be too slow or not fitting into RAM for high resolution. For that reason, you might want to run it on a more powerful cluster.
The idea here is to create the scene in ParaView locally, save it to a state file, and then render it on a remote cluster. As the paths to the data files might be different locally and on the cluster, one has to readjust them by editing the state file. As I didn't write yet the script to automatically swap the path, one has has to do it manually.
To be written
If you used rose to produce your visuals, please cite it using the following Zenodo record.
