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 7 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: aphalo
  • Language: HTML
  • Default Branch: master
  • Size: 141 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created over 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Citation

README.Rmd

---
output:
  github_document
---

```{r readme-01, echo = FALSE}
knitr::opts_chunk$set(
  fig.asp = 2/3,
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
```

# photobiologyLamps 


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


Package '**photobiologyLamps**' complements other packages in the [_R for photobiology_ suite](https://www.r4photobiology.info/). It contains spectral emission data for LED, fluorescent, incandescent and other lamps (`lamps.mspct`). Spectra for light emitting diodes (LEDs) and LED arrays (`leds.mspct`) available as electronic components are included in package ['photobioloyLEDs'](https://docs.r4photobiology.info/photobiologyLEDs/). Package '**photobiologyLamps**' also includes spectra from UV-B fluorescent tubes operating at different temperatures (`qp_uvb313_temp.mspct` and `qp_uvb313_temp.spct`) and for a four-channel LED bulb supporting channel mixing (`ledsavers.mspct`).

The data are for the most part original but also include some spectra digitized from plots in manufacturers' specifications. Data have been acquired over many years, although when possible lamps have been measured again after we got a spectrometer with improved wavelength resolution. It is important for users to be aware that depending on the optical wavelength resolution of the instruments used spectra can look quite different because of the broadening of peaks. This is most obvious in lamps with narrow emission peaks like mercury vapours lamps. If you make use of the data, please inspect the metadata and read the documentation. The metadata is in most cases fairly complete, although the distance from lamps to the entrance optics is frequently unknown. For this reason spectra have been normalized. The multiplier used for normalization is part of the metadata, making it possible to recover the original spectrum. The metadata includes, when available, a descriptor of the spectrometer and the settings used for acqiring the spectral data.

This package contains only data. Data are stored as collections of spectra of class `source_mspct` from package 'photobiology', which is the core of the 
[_R for photobiology_ suite](https://www.r4photobiology.info/). Spectra can
be easily plotted with functions and methods from package ['ggspectra'](https://docs.r4photobiology.info/ggspectra/). The spectra can be used seamlesly with functions from package ['photobiology'](https://docs.r4photobiology.info/photobiology/). However,
class `source_mspct` is derived from `list` and class `source_spct` is derived from `data.frame` making the data also usable as is with base R functions.

## Examples

```{r example0, message=FALSE}
library(ggspectra)
library(photobiologyLamps)
theme_set(theme_bw())
```

The package includes spectral data for several lamps.

```{r}
length(lamps.mspct)
```

The members of the collections are named, and several vectors of names are available indexing `lamps.mspct`, such as by manufacturer,

```{r}
Philips_lamps
```

or type of lamp.

```{r}
incandescent_lamps
```

Response to temperature of UV-B fluorescent tubes.

```{r}
what_measured(qp_uvb313_temp.mspct)
```

Different settings of a four-channel LED bulb, with its own indexing vectors of member names.

```{r}
what_measured(ledsavers.mspct)
```

Different small video/photography LED lamps: `sunwayfoto_fl96.mspct`,
`elgato_klm_cct.mspct`, `elgato_klm_dim.mspct`, `amaran_m9.mspct` and
`andoer_ir49.mspct`. Each of these collections of spectra contains data
for one lamp with different dimming and/or colour temperature settings.

The first example below shows you how to plot the emission spectrum of one of the
lamps.

```{r example1, message=FALSE}
autoplot(lamps.mspct$Airam.CF.Spiraali.14W.3000K, geom = "spct",
         annotations = c("+", "title:what"))
```

The second example shows how to access metadata.

```{r example2}
what_measured(lamps.mspct$Airam.CF.Spiraali.14W.3000K)
```

## Installation

Installation of the most recent stable version from CRAN:

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

Installation of the current unstable version from R-Universe CRAN-like repository (source and binaries available):

```{r, eval=FALSE}
install.packages('photobiologyLamps', 
                 repos = c('https://aphalo.r-universe.dev', 
                           'https://cloud.r-project.org'))
```

Installation of the current unstable version from GitHub:

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

## Documentation 

HTML documentation is available at (https://docs.r4photobiology.info/photobiologyLamps/), including a _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., Bjrn, 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://hdl.handle.net/10138/37558).

## Contributing

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

## Citation

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

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

## License

 2013-2024 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: 12
Last Year
  • Issues event: 1
  • Push event: 12

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 114
  • Total Committers: 2
  • Avg Commits per committer: 57.0
  • Development Distribution Score (DDS): 0.053
Past Year
  • Commits: 8
  • Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Pedro J. Aphalo p****o@h****i 108
aphalo a****o 6
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

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

Packages

  • Total packages: 1
  • Total downloads:
    • cran 271 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 2
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: photobiologyLamps

Spectral Irradiance Data for Lamps

  • Versions: 6
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 271 Last month
Rankings
Dependent packages count: 18.1%
Dependent repos count: 19.2%
Average: 26.5%
Forks count: 27.8%
Downloads: 32.8%
Stargazers count: 34.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
DESCRIPTION cran
  • R >= 3.6.0 depends
  • photobiology >= 0.10.9 depends
  • ggplot2 >= 3.3.5 suggests
  • ggspectra >= 0.3.7 suggests
  • knitr >= 1.37 suggests
  • photobiologyLEDs * suggests
  • photobiologyWavebands >= 0.4.5 suggests
  • rmarkdown >= 2.12 suggests