print {MCBackscattering} | R Documentation |
Print text report on console
Description
This function prints text report about simulation parameters and calculated coeeficients (albedo, critical angle) and total backscattered reflection.
Usage
print(myObject)
Arguments
myObject |
The mandatory parameter of this function is the MCBS class created by |
Details
The print
function, alias print.MCBS
, provides text description of simulation. Results of Monte Carlo simulation computed by the Simulation
function are given as data.frame
. Text report includes: absorption coefficient, scattering coefficient, anisotropy factor, refractive index, transport albedo, specular reflection, critical angle, backscattered total reflection.
Value
Results of simulation are provided as data.frame
in table format. Print function lists adjusted parameters on console, does not return any value.
See Also
MCBS
for construction of object with initial input parameters.
Setup
for initial computation of specular reflection and transport albedo.
Simulation
for running the simulation with adjusted parameters.
Chart
for plot of calculated photon flux profile.
Export
for export of photon flux with corresponding radii.
Examples
## Apple simulation data according to Qin and Lu (2006).
## DOI: 10.13031/2013.20862
# create object
cfgMedia <- c(0.63,30,0,1.4)
# the 100 low number of photons is only for demonstration
cfgSimulation <- c(100,0.05,1e-9,3,0.1)
apple <- MCBS(cfgMedia,cfgSimulation)
apple <- Simulation(apple)
# show simulation report
print(apple)