nirs4all.synthesis.generator module

Synthetic NIRS Spectra Generator.

A physically-motivated synthetic NIRS spectra generator based on Beer-Lambert law, with realistic instrumental effects and noise models.

Key features:
  • Voigt profile peak shapes (Gaussian + Lorentzian convolution)

  • Realistic NIR band positions from known spectroscopic databases

  • Configurable baseline, scattering, and instrumental effects

  • Batch/session effects for domain adaptation research

  • Controllable outlier/artifact generation

  • Instrument archetype simulation (Phase 2)

  • Measurement mode physics (transmittance, reflectance, ATR) (Phase 2)

  • Detector response and noise models (Phase 2)

  • Multi-sensor stitching (Phase 2)

  • Multi-scan averaging/denoising (Phase 2)

References

  • Workman Jr, J., & Weyer, L. (2012). Practical Guide and Spectral Atlas for Interpretive Near-Infrared Spectroscopy. CRC Press.

  • Burns, D. A., & Ciurczak, E. W. (2007). Handbook of Near-Infrared Analysis. CRC Press.