rayTrace(rt_type,
model_id='
' ,
path_mcmax='
' ,
modelfolder='
' ,
outputfolder='
' ,
inputfilename='
' ,
nosource=0,
redo=0,
inclination=45.0)
| source code
|
Ray trace an MCMax model. If output of the requested type and
inclination is found the ray tracing is NOT done anew. Ask for redo_rt if
the ray tracing must be re-done.
Alternatively, request a different location for the output. The
resulting model observations are moved to the new folder, so that any ray
tracing is always re-done when called anew.
- Parameters:
rt_type (str) - The type of output requested. One of ['spec','image',
'vis','basevis'] for spectrum, images, visibilities as function
of wavelength, visibilities as function of baseline respectively.
Requires, respectively, Spec.out, Image.out, Visibilities.out,
Basevis.out as observation files in cc.path.mobs.
model_id (string) - the model_id of the requested model. Only required when
model_folder is not given.
(default: '')
path_mcmax (str) - modeling folder in MCMax home. Only required if model_folder is
not given.
(default: '')s
model_folder (str) - The location of the model_folder. path_mcmax and model_id are
ignored if this is given. This folder is checked for existing
model observations, in which case the ray tracing is not done.
(default: '')
outputfolder (str) - The location of the output folder. By default, set at the model
folder. This folder is *not* checked for existing model
observations.
(default: '')
inputfilename (string) - the inputfilename of the model. if '': filename is
inputMCMax_model_YYYY-MM-DDhHH-mm-ss in path_mcmax/ models/.
(default: '')
nosource (bool) - remove the central source from the model observation
(default: 0)
redo (bool) - redo the ray tracing of the spectrum regardless of the spectrum
already existing or not
(default: 0)
inclination (float) - The inclination of the observer towards the object.
(default: 45.0)
|