% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectra-ossl.R
\name{make_synthetic_pedon_with_spectra}
\alias{make_synthetic_pedon_with_spectra}
\title{Build a synthetic PedonRecord with attached spectra (testing aid)}
\usage{
make_synthetic_pedon_with_spectra(
  n_horizons = 5L,
  wavelengths = 350:2500,
  seed = 1L
)
}
\arguments{
\item{n_horizons}{Integer number of horizons (default 5).}

\item{wavelengths}{Integer vector of wavelengths (default
\code{350:2500}).}

\item{seed}{Integer seed for the RNG used to generate the spectra.}
}
\value{
A \code{\link{PedonRecord}} with a \code{$spectra$vnir}
        matrix attached.
}
\description{
Generates a small, deterministic \code{\link{PedonRecord}} with
\code{n_horizons} horizons and a Vis-NIR spectral matrix
(\code{350:2500} nm). Useful for exercising
\code{\link{fill_from_spectra}} in tests and vignettes.
}
