50 lines
1.3 KiB
Python
50 lines
1.3 KiB
Python
# 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()
|
|
|