% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io_read1d.R
\name{.detect1d_procs}
\alias{.detect1d_procs}
\title{Check for Intact File Systems - Helper Function for read1d}
\usage{
.detect1d_procs(
  datapath,
  n_max = 10,
  filter = TRUE,
  recursive = TRUE,
  verbose = 1
)
}
\arguments{
\item{datapath}{character. Path to directory containing spectra.}

\item{n_max}{integer. Maximum number of spectra to read (default 10).}

\item{filter}{logical. Whether to filter out incomplete file sets (default TRUE).}

\item{recursive}{logical. Whether to search directories recursively.}

\item{verbose}{integer. Verbosity level for messaging.}
}
\value{
A list with elements:
\describe{
\item{path}{Character vector of experiment folder paths (intact).}
\item{exp_no}{Character vector of experiment folder IDs.}
\item{f_procs}{Character vector of paths to 'procs' files.}
\item{f_acqus}{Character vector of paths to 'acqus' files.}
\item{f_1r}{Character vector of paths to '1r' files.}
}
}
\description{
Scans the specified directory recursively to find intact sets of Bruker NMR files:
'procs', 'acqus', and '1r' files. Optionally filters incomplete experiments.
}
\keyword{internal}
