Skip to content

Evgenk2020/chlorophyll-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Latest Release License Last Commit Repo Size Stars Forks Top Language

🌿 Chlorophyll A and B maintenance

Lab utility for determining the maintenance of chlorophylls A and B in plant material

Run it in interactive mode


chloro

or run it with specified keys


chloro [options] -w <weight> -f <filt> -p <prob> -s <solv> --d665 <value> --d649 <value>

Using -df key you may write data to *.csv file for the next importing to LibreOffice Calc, MS Excell or Google Tables

Google table data import

.sh file example to run in terminal

#!/bin/bash

echo "measurement 1"
chloro -w 1.3 -f 25 -p 3 -s 5 --d665 1.25 --d649 0.45
echo ""

echo "measurement 2"
chloro -w 1 -f 25 -p 3 -s 5 --d665 1.1 --d649 0.41
echo ""

exec $SHELL

.sh file example for writing to .csv

#!/bin/bash

chloro -w 1 -f 25 -p 3 -s 1 --d665 1.256 --d649 0.8 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 1.1 --d649 0.7 -df
chloro -w 1.3 -f 25 -p 3 -s 1 --d665 0.9 --d649 0.6 -df
chloro -w 2 -f 25 -p 3 -s 1 --d665 0.965 --d649 0.65 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 1.025 --d649 0.6 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 0.984 --d649 0.625 -df

exec $SHELL

🛠 Dependencies

To build the project from source, you will need:

  • A compiler with full C++23 support (GCC >= 14, verified with GCC 16)
  • CMake (>= 3.31)
  • RapidJSON - a fast, header-only JSON parser and generator library
  • rpm-build - for Fedora/CentOS Stream

On Fedora based systems run

sudo dnf group install development-tools
sudo dnf install cmake rpm-build rapidjson-devel

On Debian based systems run

sudo apt update
sudo apt install build-essential cmake rapidjson-dev

On other systems see the details of your distro


To compile and run the utility (Fedora/CentOS Stream)

  1. Clone the Repository
git clone https://github.com/Evgenk2020/chlorophyll-linux
cd chlorophyll-linux
  1. Build the Project with .rpm setup package for Fedora/CentOS Stream by default
./build.sh
cd build
  1. Install .rpm package from build folder
sudo dnf install *.rpm
  1. Run the application in terminal directly
chloro -h

If using either than Fedora/CentOS Stream

  1. Clone the Repository
git clone https://github.com/Evgenk2020/chlorophyll-linux
cd chlorophyll-linux
  1. Change the string set(assemble_tgz OFF) to set(assemble_tgz ON) in CMakeLists.txt
nano CMakeLists.txt
  1. Build the Project
./build.sh
  1. Move .tar.gz file from build folder to any folder and unpack it

  2. Run the program to check it from unpacked folder

./chloro -h

For more convenience add the application path into .bashrc file

export PATH="$PATH:/path/to/application/folder"

This will allow you to run the application in terminal directly

chloro -h

📑 Citation & Academic Use

If you use this utility or code in your scientific research, lab analysis, or publications, please cite it using the following format.

GitHub automatically parses the CITATION.cff file, so you can easily copy the citation in APA or BibTeX format directly from the repository sidebar (look for the "Cite this repository" button).

BibTeX Format

@software{chlorophyll_linux_2026,
  author       = {Kopilov, Evheny},
  title        = {chlorophyll-linux: Chlorophyll A and B determination for laboratory analysis},
  month        = may,
  year         = 2026,
  publisher    = {GitHub},
  version      = {1.0.4},
  url          = {[Chlorophyll A and B maintenance](https://github.com/Evgenk2020/chlorophyll-linux)}
}

About

Modern C++23 utility for calculating Chlorophyll A and B concentrations in plant physiology and agricultural biochemistry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors