https://github.com/aphalo/photobiologywavebands

An R package part of the R for Photobiology suite

https://github.com/aphalo/photobiologywavebands

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 9 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

An R package part of the R for Photobiology suite

Basic Info
  • Host: GitHub
  • Owner: aphalo
  • Language: R
  • Default Branch: main
  • Size: 2.22 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog

README.Rmd

---
output:
  github_document:
    html_preview: TRUE
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```

# photobiologyWavebands 


[![CRAN version](https://www.r-pkg.org/badges/version-last-release/photobiologyWavebands)](https://cran.r-project.org/package=photobiologyWavebands) 
[![cran checks](https://badges.cranchecks.info/worst/photobiologyWavebands.svg)](https://cran.r-project.org/web/checks/check_results_photobiologyWavebands.html)
[![photobiologyWavebands status badge](https://aphalo.r-universe.dev/badges/photobiologyWavebands)](https://aphalo.r-universe.dev/photobiologyWavebands)
[![R-CMD-check](https://github.com/aphalo/photobiologyWavebands/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aphalo/photobiologyWavebands/actions/workflows/R-CMD-check.yaml)
[![Documentation](https://img.shields.io/badge/documentation-photobiologyWavebands-informational.svg)](https://docs.r4photobiology.info/photobiologyWavebands/)
[![doi](https://img.shields.io/badge/doi-10.32614/CRAN.package.photobiologyWavebands-blue.svg)](https://doi.org/10.32614/CRAN.package.photobiologyWavebands)


Package 'photobiologyWavebands' supplies a set of functions and data to be used together with package 'photobiology' for calculation of derived quantities from spectral data. Package 'photobiology' defines class `waveband` for storing wavelength ranges or spectral weighting functions plus wavelength ranges and a corresponding constructor function `waveband()`. Package 'photobiologyWavebands' provides specialized contructors so that frequently used wavebands can be created by name instead of directly entering numeric boundaries for wavelength and user-defined functions for weighting as needed when using `waveband()`. R functions for frequently used to obtain spectral weighting factors from arbitrary wavelengths in nanometres are also exported.

Non-weighted derived quantities represent summaries of a given range of wavelengths, i.e., weight is 1 irrespective of wavelength or use of photon or energy units. In this case constructors of `waveband` objects default to ISO standardized definitions when they are available, with other competing definitions available by passing character strings as argument to parameter `std`.

The non-weighted definitions cover most non-weighted wavebands in common use, like those corresponding ultraviolet, visible and infrared, the light colours seen by humans, and some other bands of interest for plants.

Several wavebands corresponding to remote sensing instruments are also provided, including all those for the LANDSAT missions, as non-weighted definitions. The Landsat imagers do have a specific responsiveness at each wavelength, and would in principle have to be defined using response-dependent weighting functions. The calibrations and definitions provided by NASA are based on average response per band. For example, in the OLI instrument several of the bands are relatively narrow, while the wider ones seem to have a response that is flatter on a per photon basis than on an energy basis. If Landsat response bands are to be simulated using spectral data from other instruments these approximations need special consideration.

The definition of photosyntheticaly active radiation (PAR) is non-weighted on a photon basis but spectrally weighted on an energy based. In some cases the same range of wavelengths as in the definition of PAR is used to compute a non-weighted energy irradiance, which should probably not be called PAR because of the different weighting!

Both PAR and illuminance are based on biological spectral weighting functions, approximating the spectral response of photosynthesis and the human-perceived light brightness, respectively. Several other derived _biologically effective_ quantities are used to quantify the effect of radiation on different organisms or processes within organisms. These effects can range from damage to perception of informational light signals including vision. Weighting function definitions represent measurable or expected biological or photocheminal responses, and consequently they differ if used to compute effective spectral energy- and photon irradiances. Thus, two versions of weighting functions are stored in `waveband` objects.

Exports from 'photobiologyWavebands' also include several weighting functions used in the calculation of effective irradiances and exposures. These are the same functions used by the constructors of `waveband` objects. These Weighting functions are mostly biological spectral weighting functions (BSWFs) used to estimate effective UV doses. Except for the definition the erythema (human skin reddening) and vitamin-D3 BSWFs for which definitions standardized by CIE exist, the default formulation is one commonly used and preferred by the author of the package. It should be kept in mind that mathematical formulations and extrapolation rules in use are not unique and that it is important to carefully chose the most appropriate ones and report which one was used. We hope this package will make this easier. The estimated summary values depend strongly on the choice of BSWF, its formulation and the extrapolation rules used. These choices remain in the hands of users, expected to have the necessary knowledge.

Colour-response and colour-matching functions for human vision and bee vision are included in package 'photobiology'. Absorbance spectra for plant photoreceptors and some common plant pigments, as well as action spectra for photosynthesis are included in package 'photobiologyPlants'. Package 'colorSpec' provides tools for working with colours, including colour spaces for devices like cameras. Package 'photobiologyInOut' facilitates translation of spectral data stored in classes defined in package 'photobiology' and other packages such as 'colorSpec'.

## Installation

Installation of the most recent stable version from CRAN:

```{r, eval=FALSE}
install.packages("photobiologyWavebands")
```

Installation of the current unstable version from GitHub:

```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("aphalo/photobiologyWavebands")
```

## Documentation 

HTML documentation is available at (https://docs.r4photobiology.info/photobiologyWavebands/), including an _User Guide_.

News on updates to the different packages of the 'r4photobiology' suite are regularly posted at (https://www.r4photobiology.info/).

Two articles introduce the basic ideas behind the design of the suite and describe its use:
Aphalo P. J. (2015) (https://doi.org/10.19232/uv4pb.2015.1.14) and Aphalo P. J. (2016)  (https://doi.org/10.19232/uv4pb.2016.1.15).

A book is under preparation, and the draft is currently available at (https://leanpub.com/r4photobiology/).

A handbook written before the suite was developed contains useful information on the quantification and manipulation of ultraviolet and visible radiation:
Aphalo, P. J., Albert, A., Björn, L. O., McLeod, A. R., Robson, T. M., & Rosenqvist, E. (Eds.) (2012) Beyond the Visible: A handbook of best practice in plant UV photobiology (1st ed., p. xxx + 174). Helsinki: University of Helsinki, Department of Biosciences, Division of Plant Biology. ISBN 978-952-10-8363-1 (PDF), 978-952-10-8362-4 (paperback). PDF file available from (https://doi.org/10.31885/9789521083631).

## Contributing

Pull requests, bug reports, and feature requests are welcome at (https://github.com/aphalo/photobiologyWavebands).

## Citation

If you use this package to produce scientific or commercial publications, please cite according to:

```{r}
citation("photobiologyWavebands")
```

## License

© 2012-2025 Pedro J. Aphalo (pedro.aphalo@helsinki.fi). Released under the GPL, version 2 or greater. This software carries no warranty of any kind.


Owner

  • Name: Pedro Aphalo
  • Login: aphalo
  • Kind: user
  • Location: Helsinki, Finland
  • Company: University of Helsinki, Organismal and Evolutionary Biology (OEB)

Senior University Lecturer, Principal Investigator (Sensory Ecology of Plants, Photobiology, Crops, Forest trees, Data Analysis, Data Visualization)

GitHub Events

Total
  • Issues event: 1
  • Push event: 9
  • Create event: 1
Last Year
  • Issues event: 1
  • Push event: 9
  • Create event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 92
  • Total Committers: 2
  • Avg Commits per committer: 46.0
  • Development Distribution Score (DDS): 0.076
Past Year
  • Commits: 18
  • Committers: 2
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.222
Top Committers
Name Email Commits
Pedro J. Aphalo p****o@h****i 85
aphalo a****o 7
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • aphalo (1)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 270 last-month
  • Total dependent packages: 8
  • Total dependent repositories: 8
  • Total versions: 9
  • Total maintainers: 1
cran.r-project.org: photobiologyWavebands

Waveband Definitions for UV, VIS, and IR Radiation

  • Versions: 9
  • Dependent Packages: 8
  • Dependent Repositories: 8
  • Downloads: 270 Last month
Rankings
Dependent packages count: 6.1%
Dependent repos count: 10.5%
Average: 19.2%
Downloads: 20.7%
Forks count: 27.8%
Stargazers count: 30.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-citation-cff.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
DESCRIPTION cran
  • R >= 4.0.0 depends
  • photobiology >= 0.10.14 depends
  • knitr >= 1.40 suggests
  • rmarkdown >= 2.15 suggests