A non-transitory computer-readable medium having instructions stored thereon defining a spectroscopic analysis program used in a spectroscopic analysis device that irradiates a sample with light to analyze a component to be measured contained in the sample, the instructions when executed by a computer cause the computer to:
- function as a spectrum generation unit that generates a spectrum of light transmitted through the sample;
- function as a storage unit that stores a standard calibration curve and a standard spectrum, the standard calibration curve being created by a standard device serving as a standard of the spectroscopic analysis device using a standard gas, the standard spectrum being a spectrum of the standard gas generated by the standard device;
- function as a correction unit that compares a reference spectrum that is a spectrum of the standard gas generated by the spectrum generation unit with the standard spectrum and corrects a measurement spectrum that is a spectrum of the sample generated by the spectrum generation unit or the standard calibration curve based on a difference in wavenumber or half-value width between peaks of the reference spectrum and the standard spectrum;
- and
- function as a concentration calculation unit that calculates a concentration of the component to be measured based on the standard calibration curve and the measurement spectrum corrected by the correction unit or the standard calibration curve corrected by the correction unit and the measurement spectrum.