Introduction

Argan oil is characterized by a high level of monounsaturated and di-unsaturated fatty acids, oleic and linoleic acids, respectively. Fats rich in unsaturated fatty acids, such as argan oil, are largely recommended for their healthy properties. Moreover, argan oil is rich in tocopherols that have an important antioxidant activity. In addition, argan oil is rich in phytosterol, whose incorporation into the diet is believed to offer cancer protection [1].

The Argan tree (Argania spinosa L. Skeels), belonging to the Sapotaceae family, presents an irreplaceable ecological function in Morocco, protecting the soil against erosion, maintaining soil fertility and guaranteeing most of the dietary needs of small scale farmers [2]. Argan is primarily used for its oil, but it is also utilized as fuel-wood and food for domestic goats and camels. In addition, the Moroccan folk medicine uses argan oil-based preparations for their hepatoprotective, hypocholesterolemic, and anti-atherosclerotic effects, and also in the treatment of different diseases such as rheumatism and dermatological and articular pathologies [3, 4]. The extraction of the oil contained in the seeds of argan has been a traditional process for centuries; however, a modernization is in progress which implies a mechanization which can reduce the manual labor and at the same time, facilitate an improvement in the argan oil quality. For this purpose, several cooperatives for the production and commercialization of quality certified argan oil have been initiated in South-West Morocco [5].

An important characteristic of the Argan tree is the presence of the group of triterpenoid saponins, generically arganine [6] with an astringent, bitter taste, which needs to be removed by seed roasting in the edible argan oil production. Argan kernel roasting also deserves attention because it induces a pleasant hazelnut aroma and taste that are transferred, during extraction, to the oil [7]. However, for cosmetic uses, seed roasting is not required. Therefore, two kinds of oils are produced, depending on the oil use and according to the treatment applied to the seeds. Raw material quality, roasting and storage conditions are important steps to make high quality edible seed oil [8, 9]. Oil plant processing influences fatty acid composition and its oxidative stability, among other parameters. The inappropriate toasting of argan seed or it storage conditions can induce changes in the relationship between unsaturated and saturated fatty acids (U/S), as well as in the argan oil oxidation induction time, due to a higher incidence of oxidation of the unsaturated fraction [10].

The oil’s oxidative stability was measured years ago by the active oxygen method (AOM), expressed in hours, according to the AOCS official method Cd. 1-57 [11]. Nowadays, AOM has been replaced by the oil stability index (OSI) method Cd 12b-92 with the Rancimat apparatus [11]. The OSI determination presents some difficulties, particularly the long period of time for analysis and the necessary instrument cleaning. For these reasons, the applicability of new methods has been investigated [12].

However, the information reported about directly measuring the oxidative state of intact oil seeds is practically nonexistent. Therefore, Visible and Near Infrared (Vis/NIR) Spectroscopy measurements can be useful for controlling some argan seed quality parameters, and in this way facilitating a rapid and nondestructive technique in the semi-industrial process of virgin argan oil extraction. Vis/NIR is successfully used for the routine analysis of different quality parameters such as moisture, oil or protein contents in several grains and oilseeds [13, 14]. Siemens and Daun have reported that it is possible to determine the content of fatty acids (FA) in oil seeds by Vis/NIR spectroscopy [15].

However, the feasibility of the technique may depend on the morphological and structural features of the specific seeds. The argan seed shape is flat and its size is relatively large (length 10–23 mm and width 5–12 mm). Results of predictive calibrations of quality parameters of the intact argan seed obtained from their Vis/NIR spectra have never been reported until now.

A technique to determine OSI in vegetable oils from a non-destructive measurement of intact seeds can be very useful, particularly in the case of argan edible oil, in which the seed roasting may affect oil quality. In this work, the suitability of determining the quality parameters fatty acid composition, U/S ratio, OSI and seed moisture in intact argan seeds by Vis/NIR spectroscopy was investigated. To this end, we assessed the suitability of two spectrometers. Several of the predicted parameters are reported for the first time.

Materials and Methods

Plant Material

Samples of argan (A. spinosa) fruits were supplied by the industrial plant of the Arganoil Company Ltd. Morocco. The argan seed storage conditions were temperature 5 °C and N2 atmosphere until analysis. Under these conditions, no mold development was observed, free fatty acid formation was minimized and oil oxidation was prevented. There were 187 samples of argan seeds for analysis of major FA, 65 for the oil stability index, 67 for oil content and 106 for moisture content.

Oxidation Assay

Argan seeds were oven heated at constant temperature (80 °C), and samplings (15 g) were carried out at 2, 4, 6, 12 and 24 days. Vis/NIR and NIR spectra were acquired after each sampling from the forced oxidation assay employing 5 g. This non-destructive technique allowed for reutilization of the seeds for oil Soxhlet extraction. The extracted argan oil was used for the analysis of fatty acid methyl esters and determination of the oxidation induction time.

Spectral Acquisition

The spectral acquisition of samples was performed using Labspec Pro (Analytical Spectral Devices Inc., Boulder) and Luminar 5030 (Brimrose Corp., Maryland) portable spectrophotometers. The Labspec Pro is a Vis/NIR spectrometer equipped with three detectors. The detector for the visible range (350–1000 nm) is a fixed reflective holographic diode array with sensitivity at 512 pixels. A holographic fast scanner InGaAs detector cooled at −25 °C covers the wavelength range from 1000 to 1800 nm. The same device before mentioned coupled with a high-order blocking filter operates for the 1800–2500 nm range. The instrument is equipped with internal shutters and automatic offset correction. The scanning speed was 100 ms. The spectra acquisition was performed using the ‘Turn Table’ accessory of the spectrometer with standard SMA 905 fiber optic connectors. The whole spectrum (350–2500 nm) reflected from the entire surface of the argan seed sample was acquired at 1-nm intervals for each spectral variable. Indico Pro software (Analytical Spectral Devices Inc., Boulder) was employed for data acquisition.

Luminar is an acousto-optic tunable filter-near infrared (AOTF NIR) spectrophotometer, equipped with a reflectance post dispersive optical configuration and InGaAs (1100–2300 nm) detector. The reference spectrum is automatically taken by the instrument, just as a UV–VIS spectrophotometer dual beam; the beam is divided before leaving and a small portion is sent to a second detector that gives the reference. The scanning speed in Luminar is 60 ms. The hand-held and computer units, with a total weight of 5.26 kg, offer good portability. The hand-held unit is equipped with a base for facultative use in the laboratory. The whole spectrum (1100–2300 nm) was acquired at 1-nm intervals for each spectral variable. The Vis/NIR radiation beam is projected through a frustoconical tip with an exterior of approx. 1 cm diameter. The spectra acquisition was performed by using the rotary accessory of the spectrometer base, so that the center of the Vis/NIR beam scans the largest possible area of seeds in its circular path. Acquire software (Brimrose Corp., Maryland) was used for signal acquisition. The argan seed samples were approximately 5 g for the two spectrometers and about 50 spectra were analyzed to obtain the average spectrum of each sample. A stainless steel capsule of 40 mm diameter and 20 mm height was used as the seed sample container. The samples were introduced separately into hermetic plastic pots and labeled until their reference analysis.

Fatty Acid Analysis

Fatty acid methyl esters (FAME) were obtained by a transesterification procedure carried out with a cold methanolic solution of potassium hydroxide [16]. This rapid method is applicable to oils with a free FA content of less than 3.3 %. Briefly, in a 5-mL screw-top test tube, approximately 0.1 g of the oil sample is weighed and 2 mL of heptane is added and shaken. Subsequently, 0.2 mL of a 2 N methanolic potassium hydroxide solution were then added and was shaken vigorously for 30 s. It was then stratified until the upper solution containing the methyl esters becomes clear. The GC analysis of FAME in heptane is carried out using a fused silica capillary column (SP-2380, 60 m × 0.25 mm I.D.) coated with cyanopropyl-silicone (0.20 μm film thickness) and using hydrogen as the carrier gas. The initial oven temperature of 160 °C/13 min was increased at 1.5 °C/min until 190 °C and this was maintained for 5 min. Injector and detector temperatures were 225 and 250 °C, respectively. The primary FA considered were those containing 5 % or more FA methyl esters.

Statistical analysis of the experimental data ANOVA was carried out using the SigmaStat 3.5 statistical pack (Systat Software Inc.). Tukey’s test was used to determine specific differences among group means. Differences were considered significant at P ≤ 0.001.

Determination of the Oil Stability Index

The OSI, or the oxidation induction time, was determined according to the AOCS official method Cd 12b-92 [11]. The air flow was 10 L/h and the oil was heated at 100 °C, using the Rancimat apparatus (743 Rancimat; Metrohm Ltd., Herisau, Switzerland). The OSI was expressed as h of induction of the complete oxidation of FA.

Moisture Content

The argan seed moisture was determined by gravimetry, considering the difference between fresh and dry weight employing an HG63 Halogen Moisture Analyzer (Mettler Toledo, SAE). Each sample of approximately 5 g of argan seed was ground in a mechanical mill. The resulting powder was placed in an aluminum sample pan (HA-D90) and dried at a temperature of 100 °C, using the rapid drying program. The end-point was determined when the weight loss in 50 s was less than 1 mg.

Oil Content

The dry material resulting from the procedure described in the previous section was weighed and the oil content was determined following the American Oil Chemists Society (AOCS) official methods [17].

Chemometry and Calibration Procedure

The predictive models for the parameters analyzed were constructed using 4/5 of the total corresponding sample number by a partial least squares method (PLS) [18]. The remaining samples (1/5) were reserved for external validation.

Calibrations were obtained using PLS with the Unscrambler (CAMO Software AS, Norway) and the full spectrum was studied. The models principal components (PC) were fixed after tests using ten PC initially. The procedure for spectral variable selection to be included in the models consisted of performing several consecutive cycles, eliminating variables having spectral correlation coefficients with the parameters analyzed closer to zero. Variable selection ended in the last cycle that improved the statistical model R and R CV. This selection was made on the regression coefficient graph of the Unscrambler, which summarizes the relationship between the Vis/NIR wavelengths and the response. These cycles of elimination were conducted by means of the ‘mark with rectangle’ and the ‘recalculate without marked’ specific applications of the Unscrambler.

The reflectance data were normalized to their maximum. Standard Normal Variate Transformation (SNV) and Savitzky–Golay second derivative, with segment width 3 and polynomial order 2 was also tested. Full-cross internal validation (FCV) was used for the models.

Validation Procedure

External validation exercises were carried out using the corresponding models to predict the parameters on completely independent samples. The performance from the PLS procedure was assessed by the ratio of the standard deviation of the reference data from the validation set to the SEP, the residual predictive deviation (RPD). The standard error of performance (SEP) is computed as the standard error of the residuals and expressed in the same unit as the original values. According to Williams and Sobering [19], RPD should ideally be three or higher for good model performance. SEP and the root mean square error of prediction (RMSEP) were considered. In addition, the coefficient of variation (CV) and the range of each major FA expressed as a relative range, as a percentage (R) were also considered for assessing the influence of the statistics on the performance of the models.

Results and Discussion

Argan Seed Spectra

An example of argan seed absorbance spectra acquired with the Labspec Vis/NIR spectrometer used is shown in Fig. 1. Absorption shows oscillations from 850 to 1200 nm, falling and rising again to a new peak between 1400 and 1500 nm. Another peak observed between 1700 and 1800 nm is most probably due to oil and its composition and the other one between 1900 and 2000 nm, which can be attributed to water with oscillating and rising absorption at 2050–2150 nm and at 2300–2500 nm [20]. The region close to 2180 nm is related to the protein content, as reported by Velasco et al., in Ethiopian mustard seeds [14].

Fig. 1
figure 1

Example of argan seed spectra acquired with the Labspec instrument. Savitzky-Golay second derivative followed by standard normal variate transformation and absorbance data: a 1/R, inverse of reflectance data; b D2, second derivative. SNV standard normal variate

Spectral Variable Analysis

The analysis of wavelength regression coefficients showed different spectral intervals, which have contributed significantly to the positive outcome of the Labspec calibrations (Table 1, Fig. 2). On the contrary, wavelength intervals with decisive importance were not identified with the Luminar calibrations for the different analyzed parameters.

Table 1 Wavelengths selected for calibration with the Labspec instrument
Fig. 2
figure 2

Calibration with the Luminar of moisture prediction (a) and oil content prediction (b) of argan seeds

Reference Analysis

Table 2 shows the statistical data of the reference analysis of fatty acids and the U/S ratio of the argan seed samples from the forced oxidation assay. For the corresponding calibrations and validations all samples (2, 4, 12 and 24 days) were considered together as a simple set. The ranges and standard deviations indicate the diversity of the analyzed parameters integrated in the calibration and validation sets. Oleic acid in particular, which has the smallest statistical range of all the examined parameters (6.04 %), influences the corresponding model as discussed below.

Table 2 Statistical data of the calibration and validation sets using the Labspec instrument

Major Fatty Acids and U/S Ratio

Calibrations for the prediction of the major FA in intact argan seeds were conducted in the assays performed with the Luminar and Labspec instruments. The statistical data of the sample sets used for the major FA calibrations and validations are included in Table 2, and the statistical coefficients from the Labspec and the Luminar are included in Table 3.

Table 3 Statistical coefficients for the models of the intact argan seeds

The difference between the wavelengths integrated in the spectrum, which with the Luminar 5030 was NIR exclusively; while it was Vis/NIR with the Labspec, contribute to the best results achieved with the last one. This has been tested with different calibrations of the Labspec excluding the range of visible wavelengths, whose statistics were worse than that reached using also the visible wavelengths shown in Table 3. As some examples, Rc from stearic acid calibration was 0.96 using Vis, while 0.85 with only NIR. In the case of U/S and OSI calibrations, their Rc were 0.98 and 0.99 when including Vis, as shown in Table 3, while 0.96 and 0.98 with only NIR.

The same reasons above may be the cause of why the oleic acid calibration built with Luminar 5030 did not reach sufficient accuracy for practical use, so external validation data are not shown.

The evolution of the major FA in the forced oxidation assay of intact argan seeds is shown in Table 4. Considering these data, we observed that the treatment of argan seeds at 80 °C for 24 days induces the degradation of linoleic acid due to its unsaturation degree. It presented significant differences after statistical comparison (P ≤ 0.001) over all the different steps of the oxidation assay which decreased by up to 13 % in 24 days. Consequently, the relative percentage ratios of U/S are reduced, as expressed by the data in the Table 4. The greatest reduction was observed in 24 day samples (20 %).

Table 4 Evolution of majority fatty acids (%) in the forced oxidation assay

Figure 3 shows the prediction graphs from the forced oxidation assay of argan seeds, corresponding to the external validation exercises for the oleic (a), linoleic (b), palmitic (c) and stearic (d) acids with the Labspec. The RPD coefficients from the external validation exercises were particularly good for the prediction of linoleic, palmitic and for the relation U/S (Fig. 3e). The results demonstrate the high predictive capability of the models, particularly showing the possibility to determine the ratio between major unsaturated and saturated fatty acids (U/S) in intact argan seeds with good accuracy.

Fig. 3
figure 3

Prediction with the Labspec of: oleic acid (a); linoleic acid (b); palmitic acid (c); stearic 5 acid (d); U/S relation prediction (e) and OSI prediction (f)

Interestingly, oleic acid, the most abundant FA in argan seed oil, provided a weaker predictive performance than the remaining major FA. This is most probably due to the narrow range shown by its statistical values and consequently a lower coefficient of variance. In fact, high correlations (0.91) between RPD values resulting from the validation exercises for each FA with the R values were observed. The correlation between RPD and CV values was lower (0.35), thus showing the important influence of the range of variation of a parameter on its suitability for a good PLS model for Vis/NIR prediction.

The statistical coefficients of the developed model for the OSI prediction are included in Table 4. The prediction in the external validation exercise carried out using the OSI model on 16 independent samples provided an RPD of 4.88, which reveals the high accuracy performance of the model (Fig. 3f). A calibration test was also carried out employing all available samples (65), reaching a cross validation coefficient of 0.97 and SEC 2.32, which indicates the adequacy of the calibration according to the PLS procedure validation (data not shown). This work reports the ability to predict the OSI of argan seed oil through the Vis/NIR spectrum of the intact seeds for the first time.

Argan Seed Moisture

The statistics from argan seed moisture in the calibration and validation sets conducted with the Luminar 5030 spectrometer are included in Table 5. As can be observed, seed moisture variation is higher than the oil content variation. The calibration results for seed moisture prediction, with SEC 0.24 and R 2 0.83 using the Luminar are shown in Fig. 2a. Its statistical coefficients are included in Table 5. The normalized absorbance data mean, smoothed by a mean filter and SNV were the data pre-treatments applied for this model. An external validation was carried out using 1/5 of the total number of samples, reserved for this purpose, and therefore not included in the calibration set. The RPD ratio in the prediction exercise was 2.13. The statistical coefficients from the calibration test for moisture prediction using the Luminar spectrometer (85 samples), are included in Table 5. The low moisture content of argan seeds, which characterizes this parameter as secondary, may be the reason why the accuracy achieved is not very remarkable in this case.

Table 5 Statistical coefficients of the models (a) and statistical data (b) of argan seed moisture and oil content using a Luminar 5030

Argan Seed Oil Content

As for the processing parameters, absorbance data mean normalization followed by mean filter smoothing and SNV were the data pre-treatments with the best yields. Figure 2b shows the dispersion plot of the prediction given by this calibration with the Luminar. The SEC for this calibration was 2.73 and R 2 0.83. The sizes of the calibration and validation sets used for this parameter were smaller than those of the argan seed moisture Table 5. An external validation exercise was carried out using this calibration, resulting in RMSEP 2.62 and RPD 2.44. The calibration test was carried out with the Luminar and the statistical coefficients are included in Table 5. The results of the tests showed good predictive potential for oil content, encouraging the development of predictive models for the determination of analytical parameters with practical interest in argan seeds.

Conclusions

The results of this research show that Vis/NIR are suitable to predict rapidly, nondestructively and with the necessary accuracy, the relationship between unsaturated and saturated major fatty acids in intact argan seeds, and thus facilitating seed quality control. In addition, it has been possible to determine the stability index of argan oil, the composition of major fatty acids and seed oil content. Similarly, although with lower model predictive capacity due to the lower range of variation in the parameter, it was possible to predict the moisture of the seeds. In order to establish viable prediction models employing this technique, appropriate protocols for calibration and validation are required, as well as the assessment of the models’ robustness. Portability may be an advantage for using the same unit NIR or Vis/NIR at several cooperatives processing argan seeds, which could facilitate the return on investment. It could also facilitate the handling and sorting of argan seeds during different stages of processing. The advantages of a non-destructive and environmentally friendly Vis/NIR technique could be of interest for the argan oil industry, currently undergoing modernization and expansion.