Skip to content

YT script to make visualizations of data cubes

License

Notifications You must be signed in to change notification settings

jeffctaylor/yt-alma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yt-alma

YT script to make visualizations of data cubes

This is a script for making a spinning movie for a volume render of an ALMA data cube. As written, this requires installation of http://yt-project.org and astropy from within the yt environment (http://www.astropy.org). The script takes an input FITS file and writes out a bunch of PNGs into a directory.

As a user, you will have to hack the script to adjust the inputs (The data files at the beginning) and outputs (in for loop at end). I then use the linux ffmpeg to stitch the images together into a movie:

linux> ffmpeg -i ngc253_%03d.png -b:v 5000k ngc253.mp4

Here's a sample frame from the movie:

Sample Image

About

YT script to make visualizations of data cubes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%