-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmake_gif.py
34 lines (26 loc) · 1.02 KB
/
make_gif.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#---------------------------------------------------------------
# TANGO: Transit ANimation for General Orbits
# October 2018, Oscar Barragan
#---------------------------------------------------------------
#Load libraries
import sys
import os
from matplotlib import gridspec
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style='ticks')
sns.set_color_codes()
#Start TANGO as ./tango.py system
system = str(sys.argv[1])
exec(open('src/default.py').read())
exec(open(system+'/input.py').read())
#---------------------------------------------------------------
# END plot creation
#---------------------------------------------------------------
# Start movie creation
#---------------------------------------------------------------
exec(open('src/moviepy_src.py').read())
#---------------------------------------------------------------
# End movie creation
#---------------------------------------------------------------