Began the work on a new pipeline using the new HDF5 version

This commit is contained in:
Noe Brucy
2019-11-04 16:05:09 +01:00
parent 4ff3e9f605
commit ed55a0cba1
4 changed files with 1083 additions and 220 deletions
-49
View File
@@ -1,49 +0,0 @@
# coding: utf-8
class PlotParams:
"""
Plot parameters
"""
out_ext = '.jpeg' # extension for plots
put_title = False # Add a title to plot
ntick = 6 # Number of ticks for maps
set_lim = True # Set default limits
vel_red = 40 # Take point each vel_red for velocities
class DiskParams:
"""
Disk speficic parameters
"""
on = False # Enable specific disk analysis
pos_star = np.array([1., 1., 1.]) # Position of the central star
class PymsesParams:
"""
Parameters for Pymses reader
"""
order = '<' # In which order the output are read
fft = False # Quick and dirty rendering using FFT
class OutputParams:
"""
Parameters for post processing
"""
center = [0.5, 0.5, 0.5] # Center of the image
zoom = 1. # Zoom of the image
map_size = 512 # Size of the computed maps in pixel
tag = "" # Tag for the image
class Params:
"""
Strutured parameters for the post processing
"""
disk = DiskParams()
pymses = PymsesParams()
out = OutputParams()
plot = PlotParams()