API Reference

This section provides a detailed reference for all functions and types defined in the CherenkovMediumBase module.

CherenkovMediumBase.DIPPR105Function

DIPPR105(temperature::Real, params::DIPPR105Params=DDBDIPR105Params)

Use DPPIR105 formula to calculate water density as function of temperature. temperature in K.

Reference: http://ddbonline.ddbst.de/DIPPR105DensityCalculation/DIPPR105CalculationCGI.exe?component=Water

Returns density in kg/m^3

source
CherenkovMediumBase._hg_scattering_funcMethod
_hg_scattering_func(g::Real)

Henyey-Greenstein scattering in one plane.

Arguments

  • g::Real: mean scattering angle

Returns

  • typeof(g) cosine of a scattering angle sampled from the distribution
source
CherenkovMediumBase._refractive_index_fryMethod
_refractive_index_fry(wavelength, quan_fry_params)

The phase refractive index of sea water according to a model from Quan & Fry.

wavelength is given in nm, salinity in permille, temperature in °C and pressure in atm

The original model is taken from: X. Quan, E.S. Fry, Appl. Opt., 34, 18 (1995) 3477-3480.

An additional term describing pressure dependence was included according to: Wolfgang H.W.A. Schuster, "Measurement of the Optical Properties of the Deep Mediterranean - the ANTARES Detector Medium.", PhD thesis (2002), St. Catherine's College, Oxford downloaded Jan 2011 from: http://www.physics.ox.ac.uk/Users/schuster/thesis0098mmjhuyynh/thesis.ps

Adapted from clsim (https://github.com/claudiok/clsim)

source
CherenkovMediumBase._sca_len_part_concMethod
sca_len_part_conc(wavelength; vol_conc_small_part, vol_conc_large_part)

Calculates the scattering length (in m) for a given wavelength based on concentrations of small (vol_conc_small_part) and large (vol_conc_large_part) particles. wavelength is given in nm, volconcsmallpart and volconclargepart in ppm

C.D. Mobley "Light and Water", ISBN 0-12-502750-8, pag. 119.

source
CherenkovMediumBase.calc_quan_fry_paramsMethod
calc_quan_fry_params(salinity::Real, temperature::Real, pressure::Real)

Helper function to get the parameters for the Quan & Fry formula as function of salinity, temperature and pressure.

source
CherenkovMediumBase.dispersionMethod
dispersion(medium::MediumProperties, wavelength)

Return the dispersion dn/dλ at wavelength in units 1/nm. wavelength is expected to be in units nm.

source
CherenkovMediumBase.scattering_lengthMethod
scattering_length(medium::MediumProperties, wavelength)

Return scattering length at wavelength in units m. wavelength is expected to be in units nm. Returned length is in units m.

source
CherenkovMediumBase.sl_scattering_funcMethod
sl_scattering_func(g::Real)

Simplified-Liu scattering angle function. Implementation from: https://user-web.icecube.wisc.edu/~dima/work/WISC/ppc/spice/new/paper/a.pdf

Arguments

  • g::Real: mean scattering angle
source