The SKIRT project
advanced radiative transfer for astrophysics
Functions
pts.visual.do.make_wavelength_movie Namespace Reference

Create a movie that runs through all wavelengths in the SKIRT simulation output. More...

Functions

"create a movie that runs through all wavelengths in the SKIRT simulation output" do ((str, "SKIRT simulation output directory") simDirPath,(str,"SKIRT simulation prefix") prefix="",(str,"up to three comma-separated SKIRT instrument names") instruments="",(float,"percentile in range [0,100] used to determine maximum surface brightness") percentile=100,(float,"number of decades in the surface brightness range") dex=5,(int,"if nonzero, the surface brightness range is determined for each frame separately") renormalize=0,(int,"frame rate of the movie in frames per second") rate=7)
 

Detailed Description

Create a movie that runs through all wavelengths in the SKIRT simulation output.

This script creates a movie in MP4 format for the output of the specified simulation. The movie combines the SEDs (bottom panel) and the pixel frames (top panel, from left to right) for up to three instruments, running through all wavelengths in the simulation.

The script takes the following arguments:

By default, the movie is saved in the output directory of the first instrument, using a name starting with the corresponding simulation prefix and ending with ".mp4". This can be overridden with the out* arguments as described for the pts.utils.savePath() function.