# Example parameter file for RefleX # # Suppress printed output VERBOSE 0 # Generate 1e7 photons NPHOTS 10000000 # Stop propagating photons with less than 300 eV ECUT 300.0 # Generate spectra between 300 and 1e6 eV EGEN 300.0 1000000 # Emitted spectrum is a cut-off power law with index 1.9 and cut-off energy 200 keV EMSPEC CUTOFF 1.9 200000 # Objects compisition is from Anders & Grevesse MATTER angr # Length are expressed in cm LENGTH Centimeter # Density is 1e23 hydrogen atoms per cm-3 DENSITY 1e23 # Solar metallicity METALLICITY 1 # Medium is warm (H and He atoms are ionized) TEMPERATURE 1 # Photons are emitted as an isotropic point source at coordinates (0,0,0) EMGEOM POINT 0.0 0.0 0.0 0 0 180 # Define the simulated volume, a sphere of radius 1e5 cm OBJECT WORLD 1e5 # Define the torus, located at the center, with outer radius 1 cm and inner radius 0.5 cm OBJECT TORUS TORUS 0.0 0.0 0.0 1 0.5 # Fraction of hydrogen atoms in molecule (no effect as medium is warm) H2FRACTION 1.0 # Print out progress PERCENT ON # # Define the spectroscopic output. We collect spectra with viewing qangles between 60 and 70 deg # Define the energy binning to be logarithmic between 10^2.5 and 10^6 eV, with logarithmic step of 0.01 SPECTRUM BINNING 2.5 6 0.01 LOG # Create a new spectrum cont.txt with photons crossing the torus without interaction SPECTRUM NEW cont.txt # Photons with direction above 60 deg SPECTRUM DIR_Z < 0.5 # Photons with direction below 70 deg SPECTRUM DIR_Z > 0.342020 # Photons which have not experienced any scattering SPECTRUM SCATTER == 0 # Photons which have not experienced any fluorescence SPECTRUM FLUOR == 0 # Create a new spectrum scatter.txt with photons having performed at least one scattering SPECTRUM NEW scatter.txt SPECTRUM DIR_Z < 0.5 SPECTRUM DIR_Z > 0.342020 # Photons which have experienced at least one scattering SPECTRUM SCATTER > 0 # Photons which have not experienced any fluorescence SPECTRUM FLUOR == 0 # Create a new spectrum fluo.txt with photons having performed at least one fluorescence SPECTRUM NEW fluo.txt SPECTRUM DIR_Z < 0.5 SPECTRUM DIR_Z > 0.342020 # Photons which have experienced at least one fluorescence SPECTRUM FLUOR > 0