Published July 22, 2026 | Version v1

SensNexus Spectral Dataset (SensNexusDat)

  • 1. ROR icon Universidade Federal de Santa Maria
  • 2. EDMO icon Federal University of Santa Catarina
  • 3. VineView, Halifax, NS, Canada

Description

ABSTRACT

Diffuse reflectance spectroscopy in the visible, near-infrared, and short-wave infrared (Vis–NIR–SWIR) ranges has emerged as a promising approach for detecting and quantifying microplastic (MP) contamination in soils, offering rapid, non-destructive analysis. Despite growing interest, published spectral datasets in this domain remain scarce and are generally limited to pristine polymer pellets or environmentally collected materials measured independently from soil matrices, or to studies involving non-coastal and non-tropical soils. This gap constrains the development and validation of predictive models tailored to the spectral complexity of real-world contaminated environments. This dataset was specifically constructed to support the training and validation of chemometric and machine learning models for MP quantification in soil using Vis–NIR–SWIR spectroscopy. It provides high-resolution spectral data (350–2500 nm) from a Brazilian coastal soil artificially contaminated under controlled laboratory conditions with particles of four polymer types, polyethylene (PE), polyethylene terephthalate (PET), polypropylene (PP), and polyvinyl chloride (PVC), encompassing both pristine polymers, intended to support model training, and colored post-consumer plastics, intended to support model validation under more realistic spectral conditions. The dataset addresses an underrepresentation of coastal and tropical soil environments in the MP spectroscopy literature and enables comparative analyses between pure polymers and colored, additive-containing post-consumer materials. Its spectral coverage and high resolution make it suitable for chemometric modeling, spectral library development, machine learning applications, and cross-dataset interoperability studies, with potential applications in proximal and remote sensing-based MP detection, digital soil mapping, and coastal environmental monitoring.

Notes

The raw_spectra/ subdirectory stores unprocessed spectral files as acquired by the ASD FieldSpec® 4 instrument (.asd format), organized across two scanning sessions: FIELDSPEC4_data/ and FIELDSPEC4_data2/. Scanning log files and laboratory notes for each session are also included.

The scripts/ subdirectory contains R scripts used for sample design generation, spectral data labeling, merging, and spectral processing. The relationship between scripts and data files follows the workflow: sample design CSVs are generated by the *_sample_design.R scripts; spectral labels are assigned by the label_*.R scripts producing the .rds files; merge_and_visualize.R integrates all labeled data into merged.rds and spectra_processing.R applies splice correction and log(1/R) transformation, producing the absorbance files in processed_data/.

The sample_design/ subdirectory contains three CSV files (pristine_sample_design.csv, colored_sample_design.csv, reference_sample_design.csv) describing the experimental design for each sample group, including treatment factors such as polymer type, contamination mass, and particle size interval.

The labeled_data/ subdirectory contains three R data objects (.rds): pristine, colored, and reference, each corresponding to one sample group with spectral data and associated metadata labels. These files are processed by merge_and_visualize.R to produce merged.rds, an intermediate file serving as input to spectra_processing.R

The processed_data/ subdirectory contains the primary files for reuse and downstream analysis, provided in both CSV and RDS formats to maximize accessibility across analytical environments. Two processed versions of the spectra are available: absorbance, recommended for chemometric modeling, and splice-corrected reflectance, for users requiring the untransformed signal or wishing to apply their own transformation pipeline.

Files

README.txt

Files (42.3 MB)

Name Size
md5:e19452989b250d88b0703fe26d13a704
7.0 kB Preview Download
md5:6210c7cacd80823c1f3b6a44cd75e64c
42.2 MB Preview Download

Additional details

Related works

Describes
Publication: 10.1109/IEEEDATA.2026.3752028 (DOI)

Funding

Brazilian National Council for Scientific and Technological Development
408901/2022-5

Software

Repository URL
https://github.com/nxcxlxs/SensNexus_data_analysis
Programming language
R