Update galsec from MW

This commit is contained in:
Noe Brucy
2024-02-27 17:24:00 +01:00
parent aaf5c2cb2d
commit e1375ce336
2 changed files with 417 additions and 285 deletions

96
params_gal.yml Normal file
View File

@@ -0,0 +1,96 @@
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
time_fmt : "time = {:.3g} {}" # Time format string, 1st field is time and 2nd is unit
disk: # Disk specific parameters
enable : True # Enable specific disk analysis
center : [0.5, 0.5, 0.5] # Position of the center
binning : "log" # Kind of binning (lin : linear, log : logarithmic)
mass_star : 1. # Mass of the central star
nb_bin : 256 # Number of bins for averaged quantities
bin_in : 1e-3 # Outer radius of the inner bin
bin_out : 18 # Inner radius of the outer bin
rmin_pdf : 1 # Inner radius for PDF computation
rmax_pdf : 18 # Outer radius for PDF computation
pdf: # parameters for probability density functions
nb_bin : 100 # Number of bins for the PDF
range : [-1.5, 2.5] # Range of the PDF (log of fluctuation)
xmin_fit : 0.3 # Lower boundary of the fit (log of fluctuation)
xmax_fit : 1.5 # Upper boundary of the fit (log of fluctuation)
fit_cut : 1e-4 # Exclude value that are < fit_cut * maximum
pymses: # Parameters for Pymses reader
# Source settings
variables : ["rho", "vel", "P"] # Read these variables
part_variables : ["vel","mass","id","level","epoch"] # Read these variables
order : '<' # Bit order
# Processing options
levelmax : 20 # Maximal AMR level visited when looking levels
fft : False # Quick and dirty rendering using FFT
verbose : True # 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 : 4. # Zoom of the image
map_size : 2048 # 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 : "galaxy.nml" # name of the namelist file
ramses_ism : False # If ramses-ism is used
out: # Parameters for post processing
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
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
# {name} : Name of the rule
# {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 : 1 # 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]})