spectre.Visualization.Render3D.Bbh¶
Functions
|
Helper function for visualizing the apparent horizons of the objects. |
|
Generate Pictures from XMF files for BBH Visualizations |
- spectre.Visualization.Render3D.Bbh.ah_vis(ah_xmf: str, render_view: str)¶
Helper function for visualizing the apparent horizons of the objects.
Arguments: ah_xmf: Path to the xmf file of the object. render_view: The current view in paraview to add the horizon to.
- spectre.Visualization.Render3D.Bbh.render_bbh(volume_xmf: str, output: str, aha_xmf: str, ahb_xmf: str, time_step: int = 0, animate: bool = False, camera_angle: str = 'Side', zoom_factor: float = 1.0, color_map: str = 'Rainbow Uniform', show_grid: bool = False, show_time: bool = False)¶
Generate Pictures from XMF files for BBH Visualizations
Generates pictures from BBH runs using the XMF files generated using generate-xdmf. This script requires that the Lapse and SpatialRicciScalar were output in the volume data.
- Parameters:
volume_xmf – Path to the volume data xmf file.
output – Name of output file generated from paraview. Include extensions
'.png' (such as)
aha_xmf – Path to the apparent horizon xmf file for object A.
ahb_xmf – Path to the apparent horizon xmf file for object B.
camera_angle – Specified camera angle, defaults to Side if empty. Other
Wide (possible angles Top and)
color_map – Color map for the lapse, defaults to ‘Rainbow Uniform’. Other
'Inferno (color maps include)
show_grid – Shows the grid lines of the domain.
show_time – Shows the simulation time.
To splice all the pictures into a video, try using FFmpeg