text: Free gases exhibit very sharp spectral features, and different gas species have their own unique spectral fingerprints. At atmospheric pressure, absorption linewidths are typically on the order of 0.1 cm (i.e. ~3 GHz in optical frequency or 0.006 nm in wavelength), while solid media have dull spectral behavior with absorption features thousand times wider. By looking for the sharp absorption imprints in light emerging from porous samples, it is thus possible to detect gases confined in solids – even though the solid often attenuates light much stronger than the gas itself.
  The basic principle of GASMAS is shown in figure 1. Laser light is sent into a sample with gas cavities, which could either be small pores (left) or larger gas-filled chambers. The heterogeneous nature of the porous material often give rise to strong light scattering, and pathlengths are often surprisingly long (10 or 100 times the sample dimension are not uncommon). In addition, light will experience absorption related to the solid material. When travelling through the material, light will travel partly through the pores, and will thus experience the spectrally sharp gas absorption. Light leaving the material will carry this information, and can be collected by a detector either in a transmission mode (left) or in a reflection mode (right).
  In order to detect the spectrally sharp fingerprints related to the gas, GASMAS has so far relied on high-resolution tunable diode laser absorption spectroscopy (TDLAS). In principle, this means that a nearly monochromatic (narrow-bandwidth) laser is scanned across an absorption line of the gas, and a detector records the transmission profile. In order to increase sensitivity, modulation techniques are often employed.
  The strength of the gas absorption will depend, as given by the Beer-Lambert law, both on the gas concentration and the path-length that the light has travelled through the gas. In conventional TDLAS, the path-length is known and the concentration is readily calculated from the transmittance. In GASMAS, extensive scattering renders the pathlength unknown and the determination of gas concentration is aggravated. In many applications, however, the gas concentration is known and other parameters are in focus. Furthermore, as discussed in 2.2, there are complementing techniques that can provide information on the optical pathlength, thus allowing evaluation also of gas concentrations.