% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/device_dual_pam_single_channel_fluo.R
\name{read_dual_pam_single_channel_fluo_data}
\alias{read_dual_pam_single_channel_fluo_data}
\title{Read and Process DualPAM Data Single Chanel Mode Fluo}
\usage{
read_dual_pam_single_channel_fluo_data(
  csv_path,
  remove_recovery = TRUE,
  etr_factor = 0.84,
  fraction_photosystem_I = 0.5,
  fraction_photosystem_II = 0.5
)
}
\arguments{
\item{csv_path}{File path to the CSV file.}

\item{remove_recovery}{Logical. Removes recovery measurements if \code{TRUE}. Default is \code{TRUE}.}

\item{etr_factor}{Numeric. Factor for ETR calculation. Default is \code{0.84}.}

\item{fraction_photosystem_I}{Numeric. Relative distribution of absorbed PAR to photosystem I. Default is \code{0.5}.}

\item{fraction_photosystem_II}{Numeric. Relative distribution of absorbed PAR to photosystem II. Default is \code{0.5}.}
}
\value{
A \code{data.table} containing:
\itemize{
  \item \code{par}: Photosynthetically active radiation.
  \item \code{yield_1}: NA
  \item \code{yield_2}: Yield for photosystem II.
  \item \code{etr_1}: NA
  \item \code{etr_2}: Calculated ETR for photosystem II.
}
}
\description{
Reads raw CSV files generated by DualPAM software, calculates electron transport rate (ETR) values for Photosystem II, and returns a universal dataset.
}
\details{
Calculates ETR using:
\deqn{\text{ETR} = \text{PAR} \cdot \text{ETR-Factor} \cdot \text{Fraction of Photosystem (II)} \cdot \text{Yield (II)}}

A detailed documentation can be found under \url{https://github.com/biotoolbox/pam/tree/main#functions}
}
\examples{
path <- file.path(
  system.file("extdata/dual_pam_single_channel_fluo_data", package = "pam"),
  "20260130_dual_pam_only_fluo.csv"
)
data <- read_dual_pam_single_channel_fluo_data(path)
}
\references{
{
  Heinz Walz GmbH. (2024). \emph{DUAL-PAM-100 DUAL-PAM/F MANUAL, 5th Edition, April 2024, Chapter 7 (pp. 162-172).}
  Heinz Walz GmbH, Effeltrich, Germany.
  Available at: \url{https://www.walz.com/files/downloads/dualpamed05.pdf}
}
}
