To cite the colorSpec package, and the centroid method for spectral estimation, in publications:

Davis G (2024). colorSpec: Color Calculations with Emphasis on Spectral Data. R package version 1.5-0, https://CRAN.R-project.org/package=colorSpec.

Davis G (2019). “A Centroid for Sections of a Cube in a Function Space, with application to Colorimetry.” ArXiv e-prints. 1811.00990, https://arxiv.org/abs/1811.00990.

Corresponding BibTeX entries:

  @Manual{,
    title = {{colorSpec}: Color Calculations with Emphasis on Spectral
      Data},
    author = {Glenn Davis},
    year = {2024},
    note = {R package version 1.5-0},
    url = {https://CRAN.R-project.org/package=colorSpec},
  }
  @Article{,
    title = {{A Centroid for Sections of a Cube in a Function Space,
      with application to Colorimetry}},
    author = {Glenn Davis},
    journal = {ArXiv e-prints},
    archiveprefix = {arXiv},
    eprint = {1811.00990},
    primaryclass = {math.FA},
    keywords = {Mathematics - Functional Analysis, 45Q05, 65R32, 41A60,
      44A10},
    year = {2019},
    month = {Feb},
    url = {https://arxiv.org/abs/1811.00990},
  }