various update
This commit is contained in:
@@ -2,6 +2,7 @@ from .turbox import (
|
||||
get_pspec,
|
||||
get_pspec_slope,
|
||||
build_turbox_data,
|
||||
rho_pdf,
|
||||
apply_rule_pdf,
|
||||
span_resolution,
|
||||
)
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
plot : # Plot parameters
|
||||
put_title : False # Add a title to plot
|
||||
|
||||
# Maps
|
||||
ntick : 6 # Number of ticks for maps
|
||||
|
||||
# Overlays
|
||||
vel_red : 40 # Take point each vel_red for velocities
|
||||
|
||||
tight_layout : False # Wheter to apply tight_layout
|
||||
time_fmt : "{:.3g} {}" # Time format string, 1st field is time and 2nd is unit
|
||||
|
||||
rcParams: # Anything there will be passed to matplotlib's rcParams
|
||||
{} # remove and replace by rcParams keys
|
||||
|
||||
|
||||
pymses: # Parameters for Pymses reader
|
||||
|
||||
# Source settings
|
||||
variables : ["rho","vel"] # Read these grid variables
|
||||
part_variables : []
|
||||
check_variables : False
|
||||
order : '<' # Bit order
|
||||
|
||||
|
||||
# Processing options
|
||||
levelmax : 20 # Maximal AMR level visited when looking levels
|
||||
fft : False # Quick and dirty rendering using FFT
|
||||
verbose : False # Let pymses write on standart output
|
||||
multiprocessing : True # Whether to use multiprocessing
|
||||
|
||||
# Camera settings
|
||||
center : [0.5, 0.5, 0.5] # Center of the image
|
||||
zoom : 1. # Zoom of the image
|
||||
map_size : 256 # Size of the computed maps in pixel
|
||||
|
||||
# Filter parameters
|
||||
filter : False # Enable filtering
|
||||
min_coords : [0.35, 0.35, 0.45]
|
||||
max_coords : [0.65, 0.65, 0.55]
|
||||
|
||||
input: # Parameters on how to look for input files (= output from Ramses)
|
||||
|
||||
log_prefix : "run.log" # Prefix of the log file
|
||||
label_filename : "label.txt" # Name of the label file
|
||||
nml_filename : "run.nml" # name of the namelist file
|
||||
ramses_ism : False # If ramses-ism is used
|
||||
|
||||
out: # Parameters for post processing
|
||||
copy_info : True # Copy logs, nml and info files to the outdir
|
||||
tag : "" # Tag for the image
|
||||
interactive : True # Interactive mode (keep figures open)
|
||||
save : True # Save the plots on the disk
|
||||
ext : '.jpeg' # extension for plots
|
||||
ext_subfolder : True # Separate production by extension in subfolders
|
||||
fmt : "" # Format of the output filename for plots
|
||||
# The following keys are accepted
|
||||
# {out} : The output directory (where hdf5 files are also stored)
|
||||
# {run} : Name of the relevant run
|
||||
# {num} : Name of the input file (from Ramses)
|
||||
# {ext} : Extension defined above (with the dot)
|
||||
# {name} : Name of the rule
|
||||
# {subfolder} : replaced by /{ext[1:]}/ if ext_subfolder is true
|
||||
# {tag} : Tag defined above
|
||||
# {nml[nml_key]} : The value of nml_key in the namelist (ex: {nml[amr_params/levelmin]})
|
||||
|
||||
|
||||
process: # General setting of the post-processor module
|
||||
verbose : True # Give more infos on what is going on
|
||||
num_process : 10 # Number of forks
|
||||
save_cells : True # Save cells structure on disk
|
||||
save_parts : True # Save particles on disk
|
||||
unload_cells : True # Save memory usage
|
||||
|
||||
rules: # Specific rules parameters
|
||||
turb_energy_threshold : -1 # Remove invalid data (<0 = no threshold)
|
||||
|
||||
|
||||
astrophysix: # Parameters for astrophysix and galactica
|
||||
simu_fmt : "{tag}_{run}" # Format of the name of simulation
|
||||
descr_fmt : "{tag}_{run}" # Format of the default description
|
||||
# The following keys are accepted
|
||||
# {run} : Name of the relevant run
|
||||
# {tag} : Tag defined above
|
||||
# {nml[nml_key]} : The value of nml_key in the namelist (ex: {nml[amr_params/levelmin]})
|
||||
Reference in New Issue
Block a user