Package: luxR 0.1.1


John D Kirwan
luxR: Underwater Light Analysis and Visual Ecology
Tools for quantifying and modelling underwater light environments. Propagates spectral irradiance through the water column via Beer-Lambert attenuation, computes photosynthetically active radiation (PAR), and converts between energy and photon-flux units. Provides the 'lux_spectrum' S3 class for unit-safe spectral arithmetic and format readers for TriOS RAMSES and Ocean Optics instruments. The optional 'lightr' package parses further instrument formats into strict native records; explicit measurement, scale, calibration, and resampling policies govern conversion via read_spectrum(). Spectra convert to and from the generic spectral classes of the optional 'photobiology' package, which also serves as the reference implementation luxR's integration and photometry are validated against. Includes visual ecology utilities: Govardovskii (2000) visual-pigment templates, photoreceptor quantum catch, Vorobyev-Osorio colour discrimination (JND), Secchi depth, and explicitly unvalidated contrast-threshold distance scenarios.
Authors:
luxR_0.1.1.tar.gz
luxR_0.1.1.zip(r-4.7-any)luxR_0.1.1.zip(r-4.6-any)luxR_0.1.1.zip(r-4.5-any)
luxR_0.1.1.tgz(r-4.6-any)luxR_0.1.1.tgz(r-4.5-any)
luxR_0.1.1.tar.gz(r-4.7-any)luxR_0.1.1.tar.gz(r-4.6-any)
luxR_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
luxR/json (API)
| # Install 'luxR' in R: |
| install.packages('luxR', repos = c('https://johnkirwan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/johnkirwan/luxr/issues
Pkgdown/docs site:https://johnkirwan.github.io
- CIE_scotopic - CIE Scotopic Luminous Efficiency Function
- CIE1931 - CIE Photopic Luminous Efficiency Function
- jerlov_types - Diffuse attenuation coefficients for Jerlov optical water types.
- Naples - Example downwelling irradiance from Mare Chiaro, Gulf of Naples
- solar_spectra - ASTM G173-03 reference solar spectral irradiance.
- species_channel_support - Species visual-channel support decisions.
- species_channels - Validated visual-channel memberships for selected species.
- species_sensitivities - Photoreceptor spectral sensitivities for selected species.
Last updated from:75ae5c201a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 236 | ||
| source / vignettes | OK | 247 | ||
| linux-release | OK | 149 | ||
| macos-release | OK | 97 | ||
| macos-oldrel | OK | 109 | ||
| windows-devel | OK | 112 | ||
| windows-release | OK | 129 | ||
| windows-oldrel | OK | 110 | ||
| wasm-release | OK | 128 |
Exports:absorbanceangle_of_polarizationas_colourvisionas_lux_spectrumas_reflector_spctas_rspecas_source_spctattenuate_depthattenuate_spectrumband_irradiancebeam_attenuationbroadband2spectrumcolour_jndcontrast_at_distanceconvert_unitdegree_of_polarizationdetectabilitydetection_rangefit_Kdfit_sensitivityfresnel_reflectancefrom_naplesfrom_ocean_opticsfrom_solarfrom_triosft2mgovardovskii_templateinherent_contrastirradiance2luxirradiance2radiancejerlov_Kdlight_at_depthlux_spectrumlux2irradiancem2ftmichelson_contrastn2W_spec_irradiancepar_fractionpar_irradiancephotic_depthphoton2Wplot_spectrapolarization_contrastpropagate_depthpropagate_spectrumquantum_catchradiance2irradianceread_instrument_spectrumread_ocean_opticsread_spectrumread_triosreceptor_absorptancereflectance_to_radiancerefracted_solar_angleresample_spectrumrun_appscattering_anglescotopic_luxsecchi_depthsingle_scattering_albedosnells_windowsolar_irradiancespecies_brightnessspecies_LEFspecies_sensitivity_matrixsurface_transmittancetransmittanceunderwater_polarizationunit_expressionunit_labelvisual_rangeW2mol_spec_irradianceW2photonwavelength_in_mediumweber_contrast
Last update: 2026-07-29
Started: 2026-07-24
Last update: 2026-07-29
Started: 2026-07-24
Last update: 2026-07-24
Started: 2026-07-24
Last update: 2026-07-24
Started: 2026-07-24
