Volume 11, Issue 6 e2023EA003464
Research Article
Open Access

MoonIndex, an Open-Source Tool to Generate Spectral Indexes for the Moon From M3 Data

Javier Eduardo Suárez-Valencia

Corresponding Author

Javier Eduardo Suárez-Valencia

School of Science, Constructor University, Bremen, Germany

Correspondence to:

J. E. Suárez-Valencia,

[email protected]

Contribution: Conceptualization, Methodology, Software, Validation, Formal analysis, ​Investigation, Resources, Data curation, Writing - original draft, Writing - review & editing

Search for more papers by this author
Angelo Pio Rossi

Angelo Pio Rossi

School of Science, Constructor University, Bremen, Germany

Contribution: Conceptualization, Methodology, Software, Resources, Writing - review & editing, Visualization, Supervision, Project administration, Funding acquisition

Search for more papers by this author
Francesca Zambon

Francesca Zambon

INAF-Istituto Nazionale di Astrofisica, Rome, Italy

Contribution: Conceptualization, Methodology, Software, Validation, Formal analysis, Data curation, Writing - review & editing, Visualization, Supervision

Search for more papers by this author
Cristian Carli

Cristian Carli

INAF-Istituto Nazionale di Astrofisica, Rome, Italy

Contribution: Methodology, Software, Validation, Formal analysis, Writing - review & editing, Visualization

Search for more papers by this author
Giacomo Nodjoumi

Giacomo Nodjoumi

School of Science, Constructor University, Bremen, Germany

Contribution: Methodology, Software, Validation

Search for more papers by this author
First published: 18 June 2024
Citations: 2

Abstract

Spectral indexes are tools widely used to analyze the composition of planetary surfaces. Many indexes have been formulated over the years to map the lunar surface, but there is no unified database for them. In this work we describe an Open-Source Python package called MoonIndex, that recreates 38 indexes compiled from the literature, using data from the Moon Mineralogy Mapper (M3). The processing started with the filtering of the data cubes to reduce the noise, the continuum of the spectrum was then removed using a convex hull or a second-and-first-order fit method. Later, the indexes were calculated, following as possible the original formulations. The results on spectral indexes calculated before the continuum removal were similar to those of the original formulations. Conversely, the results obtained for spectral indexes calculated after the continual removal were not always coherent. Some indexes, like the band depth, are especially sensitive to the removal method, as well as the derived band areas and asymmetries. We also recreated RGB composite maps, our results highlight the compositional patterns in a similar way as the ones in the literature, even if the color ramps can differ. The products of MoonIndex are open, ready for interpretation, versatile, consistent, and cross-comparable.

Key Points

  • MoonIndex is an open-source tool that successfully recreates spectral indexes for the Moon taken from the literature

  • The continuum-removal method has a major impact in the resulting indexes, so its selection should be considered when interpreting the data

  • The indexes obtained with MoonIndex are consistent whit the results of previous authors, which usually used licensed software

Plain Language Summary

Spectral indexes are parameters defined from the characteristics of reflectance spectra, and they are useful to investigate the spectral properties of a surface and to retrieve mineralogical properties of a planetary body. They can reveal the presence of specific minerals in rocks, indicate mineralogical variations from different units, highlight physical properties of a surface, or show the effect of the exposure to the space environment. For the Moon, several spectral indexes have been formulated over time using data from many spacecraft, but no unified database is available. In this work, we created an open-source Python package called MoonIndex, which recreates 38 indexes to study the lunar surface. The indexes were collected from the literature, and our results achieved various levels of fidelity. Some of the indexes we calculated exactly reproduce those found in the literature, while in other cases, index calculations differ due to processing constraints or due to missing information in the original formulations, such as the continuum removal method used, or the band operations conducted to create the indexes. MoonIndex is a reliable and versatile tool to approach the compositional analysis of the lunar surface.

1 Introduction

The surface of the Moon has a limited mineralogical diversity, it has been broadly divided into two types of terrains, the “highlands” which are anorthosite-rich and relatively light-toned, and “maria,” dark-toned plains of effusive lavas enriched in mafic and opaque minerals (Hiesinger & Head, 2006; Taylor, 1976). In the highlands, the dominant minerals are calcium plagioclases (Taylor, 1972; Warren & Korotev, 2022), while in the maria mafic compositions become important showing higher abundances of clinopyroxene (CPX), orthopyroxene (OPX), and olivine (Agrell et al., 1970; Albee, 2003). The clear definition of the lunar mineralogy has been driven by the samples returned by space missions (Prissel & Prissel, 2021), but due to their limited coverage of the lunar surface, the use of remote sensing techniques is still the only way to assess the mineralogy of the Moon at a global level. In this respect, the formulation and use of spectral indexes is a straightforward way to approach and visualize the mineralogical diversity of the Moon. In this study, we present and describe MoonIndex, an open-source Python library that generates spectral indexes derived from the data of the Moon Mineralogy Mapper (M3).

After the end of the Apollo missions, the exploration of the Moon shifted toward the use of remote sensing spacecraft around the Moon. These orbiters allowed global and long-lasting surveys of the surface, including the study of mineralogical and elemental variations across lunar terrains. The first spacecraft with this purpose was Clementine. It was launched in 1994 and it was equipped with the Ultraviolet/Visible (UV/Vis) and the Near-Infrared CCD (NIR) cameras (Nozette, 1995), which combined 11 filters between 300 and 2,700 nm. This spectral range was selected to obtain information suitable for the recognition of the dominant minerals on the surface of the Moon (Figure 1). Clementine was followed by the Lunar Prospector, launched in 1998, it allowed the derivation of potassium, thorium, and iron maps of the surface from its gamma ray spectrometer (Lawrence et al., 1998). The Selenological and Engineering Explorer (SELENE/Kaguya) was launched in 2007 (Sasaki et al., 2003), it carried the first hyperspectral sensor orbiting the Moon, its Spectral Profiler consisted of 296 bands between 522 and 2,600 nm. Shortly after, in 2008, the Chandrayaan-I spacecraft was launched, and its payload included hyperspectral sensor called the Moon Mineralogy Maper (M3) (Green et al., 2011; Pieters, Boardman, et al., 2009; Pieters, Goswami, et al., 2009). M3 acquired data in the spectral range between 430 and 3,000 nm, similarly to Kaguya/Spectral Profiler, but with a higher spatial resolution. It operated in two spectral sampling modes: the “Target Mode,” characterized by a spectral sampling of 10 nm, with a total of 256 channels; and the “Global Mode,” reaching a spectral sampling of 20 nm in the shorter wavelengths and 40 nm in longer ones, adding up to 85 channels (Green et al., 2011). In both cases the spatial resolution is around 110 m/pixel for the products of the first orbital period, and around 240 m/pixel for the products of a second one. The spectral cubes usually cover long swaths of the lunar surface. Due to the limited amount of the targeted mode products and the almost total coverage of the global mode ones, we decided to optimize the workflow for the latter.

Details are in the caption following the image

Spectral signatures of the main mineral species on the lunar surface. The three absorption features of olivine are shown in blue (M1, M2, M3). The two absorptions of pyroxene are shown in green (M1, M2). The high reflectance spectrum of plagioclase is shown in red, showing the occasional absorption feature at 1.3 μm. Modified from Arnold et al. (2016).

1.1 Lunar Mineralogical Diversity

M3 acquired data in the spectral interval between 0.45 and 3 μm, corresponding to the range where the major mafic minerals and water ice exhibit clear absorption features. Figure 1 shows an example of some minerals with scientific interest on the Moon (pyroxene, plagioclase, and olivine) showing specific spectral signatures in the visible-near infrared range (Arnold et al., 2016). Olivine presents three absorption features ranging between 0.85 and 1.3 μm, this is attributable to the presence of Fe2+ within the M1 and M2 octahedra sites (e.g., Burns, 1993), creating a wide absorption feature around 1.1 μm. Nevertheless, changes in the composition of the olivine can slightly shift the position of the band center of the absorption, with a shift toward longer wavelengths with increasing fayalite, that is, Fe2+ (e.g., Burns, 1993; Sunshine & Pieters, 1998). Grain size also has a role in the position of the band center, as smaller particles will shift its location to shorter wavelengths (e.g., King & Ridley, 1987). Pyroxene exhibits two strong absorptions centered at 1 and 2 μm, respectively. These absorptions are mainly the result of crystal field transitions of Fe2+ cations in the M1 and M2 octahedral sites, however, the presence of different abundances of Ca 2+ (and related Mg 2+) also influence the absorption bands of pyroxenes (Burns, 1993; Klima, Dyar, & Pieters, 2011; Klima, Pieters, et al., 2011). In fact, pyroxene with a larger amount of Fe 2+ and Ca 2+ show band center positions shifted toward longer wavelengths (Klima, Dyar, & Pieters, 2011; Klima et al., 2007; Klima, Pieters, et al., 2011) as well as extreme composition shows wider 1.0 μm and weak or absent 2.0 μm band. Different from the other major minerals, plagioclase has a higher reflectance and is almost featureless in the near-infrared (NIR), even if small amount of Fe2+ produce an absorption band around 1.3 μm, which is not easily recognizable in the data of M3 (e.g., Cheek et al., 2013; Ohtake et al., 2009; Serventi et al., 2013). To properly analyze the plagioclase composition, one should rely on thermal infrared (TIR) data, such as that obtained by the Diviner instrument onboard the Lunar Reconnaissance Orbiter (Lucey et al., 2021). An additional shallow absorption band centered around 3 μm, which is associated to hydrated minerals, has been identified by M3 data (Pieters, Boardman, et al., 2009; Pieters, Goswami, et al., 2009). As well as an absorption feature between 1.5 and 3 μm, related to the presence of spinels (Moriarty et al., 2023; Pieters et al., 2014). In general, a spectrum that shows an absorption feature at 2 μm indicates the presence of pyroxene, one with a stronger signal at 1 μm implies the presence of olivine, and a spectrum with shallow absorption in both regions represents an absence of the mafic minerals, and thus the abundance of plagioclase.

Since the lunar surface is a mixture of minerals, the actual spectrum is more complex than the ones obtained from single species (Figure 2a). Other factors also add a layer of complexity. Instrumental errors need to be considered, as well as the overall signature of the regolith (Green et al., 2011). But the bigger factor is that the lunar spectra show an overall positive and steep slope (Figure 2a), this effect is known as spectral reddening and is the result of space weathering. This alteration is produced by the combined action of solar wind, cosmic radiation, and micrometeoroid bombardment. This produces nanophase iron particles, responsible for the increased spectral slope, a reduction of the reflectance, and the weakening of some absorption bands (Hapke, 2001; Xu et al., 2023). Spectral reddening hinders the absorption band analysis; therefore, it is necessary to remove the spectral slope. A typical way to remove the spectral slope effects is to apply a continuum removal (Figure 2b).

Details are in the caption following the image

(a) Example of a reflectance spectrum extracted from M3 data before continuum removal, showing the steep slope of the continuum. (b) Same spectrum after the continuum removal. The main spectral parameters are indicated in the plot. The band center is the wavelength at the minimum point of the absorption, the band depth is the value at the minimum, the band shoulders limit the absorption, the band area is the total coverage of the absorption, and the asymmetry measures the distribution of the area at each side of the minimum as a percentage.

1.2 Techniques to Exploit Spectral Data

Several approaches can be used to analyze spectral data acquired by remote sensing instruments. A common method is the use of spectral indexes, those are specific combinations of bands, or band operations, that highlights a specific portion of the spectrum and thus a mineralogical composition (e.g., Montero et al., 2023). The definition of the indexes is supported by an analysis of the shape of the identified absorption bands (through the band centers, band depths, bands shoulders, band areas, spectral slopes, etc) (Figure 2b); or by operating over specific spectral bands, like calculating spectral ratios. In some cases indexes are presented as RGB composites, false-colored images that are created by combining three indexes in the red, green, and blue channels. This allows an easier visualization of the results by comparing several indexes at the same time and supporting the interpretation (Liu & Mason, 2009).

Other techniques can also be applied to spectral data sets. The Modified Gaussian Model (Clenet, 2009; Sunshine et al., 1990) allows the retrieval of mineralogical information from a representative spectrum. Furthermore, spectral unmixing models (e.g., Adams et al., 1993; Farrand et al., 2006), and radiative transfer models (Corley et al., 2018), focus on the reconstruction of synthetic spectra using the Hapke reflectance model (Hapke, 1993), which computes the expected reflectance of minerals from their chemical and crystallographic properties. Although the spectral indexes technique does not easily allow an absolute measurement of mineral abundances in complex spectra, it is still the most flexible, as many types of indexes can be created. This allows a targeted survey of desired minerals and an easy analysis of their spatial relationships with other ones, including minor species like spinel. For the previous reasons, we focused our work on the compilation of spectral indexes present in the literature for the Moon and within the spectral range of M3, to later recreate them on the Open-Source programming language Python.

1.3 Spectral Indexes From the Literature Provided by MoonIndex

The spectral parameters are intrinsic to the mineral species, which means spectra are comparable regardless of the planetary body. Many parameters were defined in the laboratory (e.g., Adams, 1974; Adams & Filice, 1967; Karr, 1975), and were later applied to the Moon. A detailed list of all the spectral indexes considered in this work is shown in Table 1. Spectral indexes depend on the characteristics of the spectra considered, for this reason, literature provides a large and evolving number of parameters. Therefore, no unified database of spectral indexes for the Moon is present. Nevertheless, some works went a long way listing important indexes. Zambon et al. (2020) describes 11 indexes suitable for being derived from the data of M3. These indexes focus on the band centers and band depths around 1 and 2 μm, which help on the identification of mafic minerals; the spectral slope, which is a way to measure the maturity of the surface; a Clementine-like color composite map (Red: 750 nm/540 nm, Green: 750 nm/1,000 nm, Blue:540 nm/750 nm), suitable to identify regions enriched in mafic minerals (with different enrichment on iron or titanium), plagioclase and glass-bearing materials (Lucey, Blewett, & Jolliff, 2000; Lucey, Blewett, Taylor, & Hawke, 2000).

Table 1. List of Spectral Indexes Collected in the Literature
Parameter name Abbrev. name Formulation Interpretation Source
Reflectance at 540 nm R540 R540 High values (Higher than 0.03) → bright fresh material, plagioclase Adams and McCord (1971)
Low values (Lower than 0.03) → dark terrain, pyroxene, and other mafic minerals
Band center at 1 µm BCI BCI = min R 1000 nm R c 1000 nm $\text{BCI}=\min \sim \left(\frac{R1000\,\text{nm}}{{R}_{c}1000\,\text{nm}}\right)$ Compositional variations of the principal mineralogical phases (pyroxenes, olivines, and plagioclases). Low-Ca pyroxenes have values lower than 0.99, high-Ca pyroxenes have values higher than 0.99 Adams (1974)
RC = Removed continnum spectrum
Band center at 2 µm BCII BCII = min R 2000 nm R c 2000 nm $\text{BCII}=\min \sim \left(\frac{R2000\,\text{nm}}{{R}_{c}2000\,\text{nm}}\right)$ If the band center is shifted to lower wavelengths, it may show abundance of low-Ca pyroxene. Low-Ca pyroxenes have values lower than 2.15, high-Ca pyroxenes have values higher than 2.15 Adams (1974)
Band depth at 1 µm BDI BDI = 1 R 1000 nm R c 1000 nm $\text{BDI}=1-\frac{R1000\,\text{nm}}{{R}_{c}1000\,\text{nm}}$ Abundance of the principal mineralogical phases and their grain sizes, also abundance of opaque phases. Values depend on the minerals involved and their proportions Adams (1974)
Band depth at 2 µm BDII BDII = 1 R 2000 nm R c 2000 nm $\text{BDII}=1-\frac{R2000\,\text{nm}}{{R}_{c}2000\,\text{nm}}$ Abundance of the principal mineralogical phases and their grain sizes, also abundance of opaque phases. Values depend on the minerals involved and their proportions Adams (1974)
Spectral slope at 1 µm SS Sl = R ( Max shoulder BCI ) R 540 nm ( Wave ( Max shoulder BCI ) 540 nm ) R 540 nm $\text{Sl}=\frac{R(\mathrm{Max}\,\text{shoulder}\,\text{BCI})-R540\,\text{nm}}{(\text{Wave}(\mathrm{Max}\,\text{shoulder}\,\text{BCI})-540\,\text{nm})\ast R540\,\text{nm}}$ Low values → fresh terrains, dark terrain Hazen et al. (1978)
High values → older terrains, space weathering
Clementine-like red channel Clem RED ClemRED = R 750 nm R 540 nm $\text{ClemRED}=\frac{R750\,\text{nm}}{R540\,\text{nm}}$ High values imply low titanium regions, or high glass contents Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000)
Clementine-like green channel Clem GREEN ClemGREEN = R 750 nm R 1000 nm $\text{ClemGREEN}=\frac{R750\,\text{nm}}{R1000\,\text{nm}}$ High values show enrichment of iron in the surface, and mafic minerals Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000)
Clementine-like blue channel Clem BLUE ClemBLUE = R 540 nm R 750 nm $\text{ClemBLUE}=\frac{R540\,\text{nm}}{R750\,\text{nm}}$ Higher values imply high titanium content and bright slopes Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000)
Band depth at 1.9 µm BD1900 B D 1900 = 1 R 1900 nm R c 1900 nm $BD1900=1-\frac{R1900\,\text{nm}}{{R}_{c}1900\,\text{nm}}$ Highlights differences in mafic compositions when combined with IBDI and IBDII Bretzfelder et al. (2020)
Integrated band depth at 1 µm IBDI IBDI = n = 0 26 1 R ( 789 nm + 20 n ) R C ( 789 nm + 20 n ) $\text{IBDI}=\sum\limits _{n=0}^{26}1-\frac{R(789\,\text{nm}+20n)}{{R}_{C}(789\,\text{nm}+20n)}$ It shows high values when olivine and pyroxene are present. Values depend on the minerals involved and their proportions Bretzfelder et al. (2020)
Integrated band depth at 2 µm IBDII IBDII = n = 0 21 1 R ( 1658 nm + 40 n ) R C ( 1658 nm + 40 n ) $\text{IBDII}=\sum\limits _{n=0}^{21}1-\frac{R(1658\,\text{nm}+40n)}{{R}_{C}(1658\,\text{nm}+40n)}$ It shows high values when pyroxene is present. Values depend on the minerals involved and their proportions Bretzfelder et al. (2020)
Band area at 1 µm BAI BAI = n = 0 L a 1 R ( ICnm + 20 n ) R C ( ICnm + 20 n ) SR $\text{BAI}=\sum\limits _{n=0}^{La}\left(1-\frac{R(\text{ICnm}+20n)}{{R}_{C}(\text{ICnm}+20n)}\right)\ast \text{SR}$ Useful to differentiate between mineral species. Bigger areas imply the presence of more mafic minerals. When plotted against the band center gives information about the mixture of mafic minerals Cloutis et al. (1986) and X.-Y. Zhang et al. (2016)
IC = Channel where the absorption begins
SR = Spectral resolution
La = Amount of channels covered
Band area at 2 µm BAII BAII = n = 0 L a 1 R ( ICnm + 40 n ) R C ( ICnm + 40 n ) SR $\text{BAII}=\sum\limits _{n=0}^{La}\left(1-\frac{R(\text{ICnm}+40n)}{{R}_{C}(\text{ICnm}+40n)}\right)\ast \text{SR}$ Useful to differentiate between mineral species. Bigger areas imply the presence of more mafic minerals. When plotted against the band center gives information about the mixture of mafic minerals This paper, X.-Y. Zhang et al. (2016)
Band asymmetry at 1 µm ASYI ASYI = BAIR BAIL BAIR + BAIL 100 $\text{ASYI}=\frac{\text{BAIR}-\text{BAIL}}{\text{BAIR}+\text{BAIL}}\ast 100$ Useful to identify glass-bearing mixtures with high asymmetries. Asymmetries higher than 15 points to the presence of glass. When plotted against the band center gives information about the mixture of mafic minerals Cloutis et al. (1986)
BAIR = Right side of the band area
BAIL = Left side of the band area
Band asymmetry at 2 µm ASYII ASYII = BAIIR BAIIL BAIIR + BAIIL 100 $\text{ASYII}=\frac{\text{BAIIR}-\text{BAIIL}}{\text{BAIIR}+\text{BAIIL}}\ast 100$ Useful to identify glass-bearing mixtures with high asymmetries. When plotted against the band center gives information about the mixture of mafic minerals This paper
Olivine parameter Ol Ol = R 1699 0.1 R 1050 + 0.1 R 1210 + 0.4 R 1329 + 0.4 + r 1469 1 $\text{Ol}=\left(\frac{R1699}{0.1\ast R1050+0.1\ast R1210+0.4\ast R1329+0.4+r1469}\right)-1$ A higher value implies a major abundance of olivine. This index is only indicative, to properly quantify the amounts of olivine, the use of a radiative transfer model is suggested Corley et al. (2018)
Spinel ratio Sp1 Sp 1 = R 1450 nm R 1750 nm $\text{Sp}1=\frac{R1450\,\text{nm}}{R1750\,\text{nm}}$ A higher value implies a major abundance of spinel. This index is only indicative, it is not intended to be a quantitative tool Pieters et al. (2014)
Spinel ratio Sp2 Sp 2 = R 1250 nm R 750 nm 500 1350 + R 1250 nm R 2600 nm $\text{Sp}2=\frac{\left(\frac{R1250\,\text{nm}-R750\,\text{nm}}{500}\right)\ast 1350+R1250\,\text{nm}}{R2600\,\text{nm}}$ A higher value implies a major abundance of spinel. This index is only indicative, it is not intended to be a quantitative tool Moriarty et al. (2023)
Pyroxene ratio Px Px = R 700 nm + R 1200 nm R 950 nm $\text{Px}=\frac{R700\,\text{nm}+R1200\,\text{nm}}{R950\,\text{nm}}$ A higher value implies a major abundance of pyroxene. This index is only indicative, it is not intended to be a quantitative tool Pieters et al. (2014)
Pure anorthosite ratio An Px = R 1000 nm + R 1500 nm R 1250 nm $\text{Px}=\frac{R1000\,\text{nm}+R1500\,\text{nm}}{R1250\,\text{nm}}$ A higher value implies a major abundance of anorthosite. This index is only indicative, is it not intended to be a quantitative tool Pieters et al. (2014)
Band depth at 950 nm BD950 BD 950 = 1 R 950 nm R c 950 nm $\text{BD}950=1-\frac{R950\,\text{nm}}{{R}_{c}950\,\text{nm}}$ While combined with other indexes to create the RGB6 composite is useful to study lunar maria. A higher value implies the presence of mafic minerals Besse et al. (2011)
Badn depth at 1.05 µm BD1050 BD 1050 = 1 R 950 nm R c 950 nm $\text{BD}1050=1-\frac{R950\,\text{nm}}{{R}_{c}950\,\text{nm}}$ While combined with other indexes to create the RGB6 composite is useful to study lunar maria. A higher value implies the presence of mafic minerals Besse et al. (2011)
Badn depth at 1.25 µm BD1250 BD 1250 = 1 R 1250 nm R c 1250 nm $\text{BD}1250=1-\frac{R1250\,\text{nm}}{{R}_{c}1250\,\text{nm}}$ While combined with other indexes to create the RGB6 composite is useful to study lunar maria. A higher value implies the presence of mafic minerals Besse et al. (2011)
Reflectance at 1.58 µm R1580 R1580 nm While combined with other indexes to create the RGB7 composite is useful to study lunar maria Besse et al. (2011)
Iron oxide parameter Fe Fe = arctan arctan R 918 nm R 757 nm 1.19 R 757 nm 0.06 $\text{Fe}=-\mathrm{arctan}\,\,\mathrm{arctan}\,\left(\frac{\left(\frac{R918\,\text{nm}}{R757\,\text{nm}}\right)-1.19}{R757\,\text{nm}-0.06}\right)$ Higher values imply the presence of iron. The percentage of FeO in weight can be derived from the parameter: wt%FeO = 8.878 × Fe1.8732 Wu et al. (2012)
Titanium parameter Ti Ti = arctan arctan R 561 nm R 757 nm 0.71 R 757 nm 0.07 $\text{Ti}=\mathrm{arctan}\,\,\mathrm{arctan}\,\left(\frac{\left(\frac{R561\,\text{nm}}{R757\,\text{nm}}\right)-0.71}{R757\,\text{nm}-0.07}\right)$ Higher values imply the presence of titanium. The percentage of FeO in weight can be derived from the parameter: wt%FeO = 2.6275 × Ti4.2964 Wu et al. (2012)
Chromite parameter Cr Cr = R 1350 R 750 600 1500 + R 1350 R 2750 $\text{Cr}=\frac{\left(\frac{R1350-R750}{600}\right)\ast 1500+R1350}{R2750}$ Higher values imply the presence of chromite. This index is only indicative, it is not intended to be a quantitative tool This paper
RGB composite name Abbrev. name Formulation Interpretation Source
RGB Clementine-like color composite Clem R: ClemRED, G: ClemGREEN, B: ClemBLUE Red channel → low titanium regions, or high in glass content (see the highlands, pyroclastic deposits) Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000)
Green channel → amount of iron in the surface, mafic minerals
Blue channel → high titanium. Lunar surface maturity
Color composite 1 RGB 1 R: SS, G: BDI, B: BDII When red dominates, space weathering is major, blue/green zones correspond to less mature terrains Zambon et al. (2020)
Color composite 2 RGB 2 R: SS, G: R540, B: BCII Blue areas are characterized by high iron/titanium, red zones are a lack of that Zambon et al. (2020)
Color composite 3 RGB 3 R: SS, G: R540, B: BDI This RGB combination gives information on terrain maturity and reflectance Zambon et al. (2020)
Color composite 4 RGB4 R: BCI, G: BCII, B: BAI Pyroxene rich material is seen in blue/yellow/green, glass and olivine in pink/yellow, plagioclase in red Horgan et al. (2014)
Color composite 5 RGB5 R: ASYI, G: BCII, B: BAI Pink and yellow show glass-bearing mixtures, blue a mixture of pyroxenes Horgan et al. (2014)
Color composite 6 RGB6 R: BD950, G: BD1050, B: BD1250 Blue could imply the presence of olivine, red/purple the presence of Mg-pyroxene, yellow the presence of Ca-pyroxene Besse et al. (2011)
Color composite 7 RGB7 R: IBDI, G:IBDII, B: R1580 Red is olivine rich, highlands rich in plagioclase appear blue, low-Ca pyroxene appear in green and yellow Besse et al. (2011)
Color composite 8 RGB 8 R: BD1900, G: IBDII, B:IBDI Dark blue corresponds to olivine signatures, cyan to clinopyroxene Bretzfelder et al. (2020)
Color composite of spinel Spanpx R:Px, G: Sp2, B: An Pyroxene in red, presence of spinel in green, and anorthosite in blue and yellow Moriarty et al. (2022)
  • Note. A total of 28 single-band parameters and 10 RGB composites were implemented.

The rest of the collected indexes were thought of for specific cases. Wu et al. (2012) updated the FeO and TiO parameters formulated by Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000). Horgan et al. (2014) used the band area and asymmetry to highlight different mineral and glass compositions. Corley et al. (2018) defined a simple band ratio to highlight the presence of olivine, and Bretzfelder et al. (2020) made an RGB composite based on the integrated band depth (IBD) around 1 and 2 μm, and the band depth at 1.9 μm to create a contrast between olivine and the two types of pyroxenes. Besse et al. (2011) also used the IBD to differentiate between pulses of lava floods. Finally, Pieters et al. (2014) and Moriarty et al. (2023) used band ratios of non-continuum removed spectra designed to detect spinel and anorthosite. Finally, we adapted three other indexes for this work, the band area and asymmetry at 2 μm, and a chromite parameter following the formulation of Moriarty et al. (2023).

2 Data

As our goal was to generate a set of consistent spectral indexes, we opted for optimizing the tool for the global mode captures of M3, in this way we always worked with the same spectral sampling and similar spatial resolutions. We selected the data from the Planetary Data System (PDS) (Malaret et al., 2011), using the PDS Geosciences Node Lunar Orbital Data Explorer search tool.

2.1 Data Formats

M3 data is available as cubes with an IMG file extension, each cube is a three-dimensional array of data, which stores spatial information in a two-dimensional plane, and spectral information in the third dimension. Other additional files contain ephemerides, geometries, calibration data, and metadata. To map-project the data it is necessary to download the geometric data of the radiance image and the derived reflectance cube, the latter being the one used for the retrieval of the spectral parameters. The reflectance cubes available in the PDS have 83 bands, missing the first two bands, corresponding to 0.46 and 0.5 μm. The reflectance data in the PDS is already calibrated for thermal and photometrical anomalies (Clark et al., 2011; Lundeen et al., 2011). Other authors have noted problems with this correction, especially after the 2 μm range, where the thermal emission of the lunar surface should be considered (Bandfield et al., 2018; Li & Milliken, 2016). In this work we use the reflectance cubes of the PDS, but further processed products can also be ingested to MoonIndex. The spatial resolution of the global mode data used in this paper is around 110 m/pixel, while the spectral sampling is variable, being 0.02 μm between 0.5 and 1.5 μm, and 0.04 μm between 1.5 and 3 μm. Global mode cubes cover a substantial portion of the lunar surface, so one or two cubes are usually enough to study medium-sized landforms. On the global mode, the data is captured at full resolution, and is afterward downsized to reduce it to the desired resolution. M3 captured data intermittently across two orbital periods, usually with high solar zenith angles (Green et al., 2011), as a result, there are not many locations covered by more than one or two cubes taken at different times.

M3 data is affected by some artifacts, making it difficult to develop general procedures to remove or improve these issues (Green et al., 2011). In particular, all M3 files display vertical stripes due to thermal issues with the instrument. The stripes are present in all wavelengths, but their intensity varies from cube to cube. We also detected an anomalous increase in reflectance from right to left in some cubes. This effect is particularly strong at longer wavelengths, affecting the band depth, area, and asymmetry (Green et al., 2011). The photometric correction of the cubes is not reliable for incidence angles higher than 70°, which especially affect steep slopes on craters. Finally, there are some cubes taken in the same area that are not correctly projected with respect to each other, this may be a problem with the SPICE information of the data (Acton et al., 2016). Although the mentioned artifacts reduce the quality of the information, almost every cube still has plenty of data that can be analyzed.

2.2 Case Study Regions

All the indexes collected and formulated in this work are applicable to any location on the lunar surface. Here, as a study case, we compare our results with those of three other authors that also focused on spectral indexes (Figure 3).

Details are in the caption following the image

(a) Regions selected to test the MoonIndex tool. (b) Apollo Basin, a large impact structure in the South Polar Aitken basin (SPA), target of Zambon et al. (2020). (c) Aristarchus crater, a Copernican impact structure enriched in glasses, target of Horgan et al. (2014). (d) Vallis Alpes, a linear rille in the rim of the Imbrium basin, target of Bretzfelder et al. (2020).

2.2.1 Apollo Basin

The Apollo basin (36.1°S 151.8°W) was the target of Zambon et al. (2020). It is a large multiring impact basin within the northern part of the South Pole Aitken basin (SPA) (Moriarty & Pieters, 2018). It has an estimated age of 3.98 Ga (Ivanov et al., 2018) and was later filled by basaltic flood lavas. The Apollo basin has a big geomorphological and compositional diversity (Ivanov et al., 2018; Potter et al., 2018), most of the zone is dominated by highlands terrains, but a large basaltic flood is emplaced at the center of the basin. This diversity makes it a good target to test the variability of the spectral parameters. Zambon et al. (2020) used the band center, depth, and spectral slope to study the mineralogical composition of the region, we will compare our results for these same parameters. We used the reflectance cube M3G20090813T213525.

2.2.2 Vallis Alpes

Vallis Alpes (49°N, 3°E.) was studied by Bretzfelder et al. (2020). The Vallis Alpes and Montes Alpes are landforms located in the northern rim of the Imbrium basin, they are northeast trending structures, including a central linear rille and parallel mountain ranges at both sides of it. The mountains are probably ejecta blocks of the Imbrium impact, which according to Klima, Dyar, and Pieters (2011) and Klima, Pieters, et al. (2011) are enriched in low-Ca pyroxene. Bretzfelder et al. (2020) identified olivine outcrops in the surface using the integrated band depths and the band depth at 1.9 μm, suggesting the presence of plutonic rocks excavated from the lower crust (Shearer et al., 2015). We recreated these parameters to identify the presence of olivine in the region. The reflectance image used for this target is M3G20090608T125102.

2.2.3 Aristarchus Crater

The Aristarchus Crater (23.4°N, 47.2°W) was analyzed by Horgan et al. (2014). It is a well-preserved Copernican complex crater, it shows high albedo and sharp morphologies, which correspond to impact products (Mustard et al., 2011). The structure of its ejecta is clearly visible, including several types of impact melt, basement rocks and structural patterns. Horgan et al. (2014) used the band centers, areas and asymmetries to study and classify the ejecta and glass bearing lithologies around the crater. The reflectance M3 cube used for this target is M3G20090209T054031.

3 Methods

The use of other software is necessary before and after the application of MoonIndex. An important step to properly use remote sensing images is the spatial projection of the data, which locates the images on the surface of a planet. For planetary bodies, this process is challenging, and has been optimized before in software like the Integrated Software for Imagers and Spectrometers (ISIS) (Laura et al., 2023). For this reason, we did not recreate this step within the Python workflow. Then, MoonIndex can be applied to map-projected M3 reflectance cubes. As for the indexes derived from our tool, we strongly recommend their use with geospatial software such as QGIS or ArcGIS, which are well-optimized for high level remote sensing data interpretation. The whole workflow applied is summarized in Figure 4.

Details are in the caption following the image

Flow-chart of the full procedure to create spectral indexes using MoonIndex.

3.1 Preprocessing

To process M3 cubes through MoonIndex, the user first needs to map-project them and change their format to Tiff/Geotiff using ISIS and the Geospatial Data Abstraction Library (GDAL) (Rouault et al., 2023). The first step is the ingestion of the data to ISIS, the importing command of ISIS only accepts the radiance product of M3, so we performed a change in the associated LBL file of the radiance cube to use the reflectance data (e.g., Figuera et al., 2018). The modification consists in changing the name of the radiance cube by the one of the reflectance cube in the “^RDN_IMAGE” parameter under the “/* Description of Radiance-corrected image file */” section of the LBL file. This tricks ISIS to accept the reflectance cube, and to continue the pre-processing. As the data of M3 usually covers a substantial portion of the Moon, sometimes it is necessary to reduce the extent of the cube, this is usually necessary when the data comprise the poles. The polar region covered by the cube can be cropped to a smaller size in ISIS. Then, we geographically projected the cube to a pre-defined coordinate system. After the projection, the format of the data was changed from CUB to TIF using GDAL. At this point, the data is ready to be ingested on the tool. The commands used in this step can be found in Text S1 of Supporting Information S1.

3.2 Data Processing Using MoonIndex

The MoonIndex tool is designed to automatically work, after an initial configuration of the input and output paths. The indexes are calculated from a set of Python functions developed in this work, which are optimized for the technical characteristics of M3. The workflow can be divided into three main stages (Figure 4): filtering, continuum removal (when needed), and indexes generation. We used Python libraries that are produced/written to work with spatial imagery data, like xarray (Hoyer & Joseph, 2017), openCV (Bradski, 2000), and rasterio (Gillies et al., 2013). And we also used common operational libraries like numpy (Harris et al., 2020), and plotting ones like matplotlib (Hunter, 2007). A detailed description of the libraries is found in Text S2 of Supporting Information S1.

3.2.1 Cube Adjustments

Some minor corrections are needed before working with the data. The first two bands of the reflectance cube do not contain spectral information, so they are removed, this means that the initial band of the data is 0.54 μm. The pixels with no-data values all are reassigned to zero, to avoid problems in the processing. Due to the M3 observation strategy, a large part of the cubes is acquired from north to south pole, increasing the file dimension and making the data processing difficult (Green et al., 2011). For this reason, a specific tool to resize the data is fundamental for easier data processing. In this regard, we develop a function dedicated to crop the data using the coordinates of the desired regions (Figure 5). Nevertheless, the user can still opt to process the full cube by simply not using this function.

Details are in the caption following the image

Cropping function of the tool. M3 cubes are generally large, so the use of subsections when possible is recommended.

3.2.2 Filtering

The striping of the cubes can disrupt the data, both the spectral profiles and the images for each wavelength have a periodic noise that makes interpretation more difficult (Figure 6a). Since no instrumental calibration is provided by the team of M3, we opted for filtering the data. Some of the recreated spectral indexes require operations over specific bands, so we did not applied processes that reduce the dimensions of the data, like the Minimum Noise Fraction (MNF) method used in M3 cubes by Kodikara et al. (2016). Instead, we followed a simple two-step smoothing method proposed by Shkuratov et al. (2019), which consists of a Gaussian convolution followed by a Fourier filtering. After several attempts we obtained better results inverting the order of the filters, as less striping is visible after generating the indexes.

Details are in the caption following the image

Fourier filtering of the Apollo Basin cube, the gray scale ramp represents reflectance. (a) Original data with the typical vertical striping of M3. (b) Fourier image of the data, the strong horizontal line contains the frequencies of the vertical stripes. (c) Filter applied to the data, the pixels inside the rectangles are multiplied by zero. (d) Image after the filtering, showing a reduction in the number of vertical stripes. (e) Ratio between the original image and the one after the Fourier filtering.

The Fourier filtering was computed individually for each band of the cube. The process starts by applying a 2D Fourier transform, the resulting image is in the Fourier or frequency domain, which shows the distribution of frequencies contained in the original spatial domain (Broughton & Bryan, 2018). In the Fourier domain, it is possible to identify some frequencies responsible for the vertical striping of the data, which horizontally cross the Fourier image at its center (Figure 6b). Once the position of the stripes was identified, we applied a mask to the data, multiplying by zero the regions dominated by their frequencies (Figure 6c). The size of the mask corresponds to 60% of the width of the image, and 2% of its altitude; these measurements were established manually as it removes the major number of stripes without damaging the frequencies of the actual data, usually accumulated at the center of the Fourier image. The user has the possibility to change the size of the filter. Lastly, an inverse Fourier transform is applied to the masked images, recovering the filtered cube in the spatial domain. After the Fourier filtering, a simple 1D Gaussian filter is applied to the data, this time in the spectral dimension. This process smooths the spectral signatures of each pixel, allowing the identification of the main mineral absorption bands (Figure 7a). The filter is only applied between 0.54 and 2.85 μm, to avoid an undesired trend caused by the instrumental errors at longer wavelengths. As most of the minerals on the Moon have absorption bands in shorter wavelengths, we decided not to include those unfiltered last four bands. Finally, we examined that the filters do not affect the actual data. We generated ratioed images between the filtered and unfiltered cubes, and then checked that variations of over 2% were not made outside the location of the vertical stripes (Figure 7b).

Details are in the caption following the image

(a) Comparison of the spectral profiles before and after the Gaussian filter, the orange line is smoother and allows a better interpretation of the absorption bands. (b) Images of the original cube, (c) the ratio between the last and the Gaussian-filtered cube, (d) and the location with changes over 2% on reflectance (black pixels). These images show the surface data is not affected by the filtering process.

3.2.3 Continuum Removal

Some indexes require a continuum removal of the spectrum to be performed. The continuum of a spectrum is considered the background absorption signal, which results from the interaction of several properties of the analyzed surface (e.g., Clark & Roush, 1984; X.-Y. Zhang et al., 2016). The continuum on the spectral signatures of M3 is a positive slope that overlaps the relatively weak absorption of the minerals, it results from the combined signals of the lunar regolith and the products of space weathering. In the lunar case, a major contribution to the continuum is due to space weathering effects, which in turn can be used to measure the maturity of the surface (Lucey, Blewett, & Jolliff, 2000; Lucey, Blewett, Taylor, & Hawke, 2000). Even when the continuum plays a major role in M3cubes, its removal uncovers the spectral properties of the minerals on the surface and allows the analysis of parameters related to absorption bands (Figure 8).

Details are in the caption following the image

Continuum removal methods applied by MoonIndex. (a) Convex-hull method, it used an envelope around the vertex of the spectrum. (b) Second-and-first-order fit method, it used a second order polynomial around the 1 μm absorption band, and a linear fit around the 2 μm absorption band.

Several approaches have been used to remove the continuum of lunar spectra, we decided to implement two of these methods in MoonIndex. Since this process consist of removing the overall trend of the data, the most common approach in the literature involves calculating the continuum as a linear or polynomial fit between the first and last value of the spectrum, and then using it to divide the original data (e.g., Clark & Roush, 1984; McCord et al., 1972). Similarly to Zambon et al. (2020, and references therein), we applied a second-and-first-order fit method to remove the continuum of M3 data. By considering the spectral properties of the minerals on the lunar surface, the removing function was calculated independently for each absorption band. Around the 1 μm band, a second order fit was used, and for the one around the 2 μm, a linear fit function was applied. We named this approach as the “second-and-first-order fit method” in our tool (Figure 8b). Nevertheless, the polynomial order of this method can be modified for both absorption bands. The other approach implemented is the convex hull method (Graham, 1972), in this case, the continuum is calculated as the enveloping function of the spectral data, consisting of lines interpolated over every consecutive point of the spectrum. This method has the advantage of being completely independent of arbitrary limits for the absorption bands and that it highlights the shape of every absorption feature. We implemented this approach as the “convex hull method” in our tool (Figure 8a). Although the code is flexible by allowing the use of both continuum-removal methods, we recommend the convex-hull one, since its automatic detection of the band shoulders would work better in locations were the mineralogy differs from the typical plagioclase-pyroxene-olivine dominance (as the position of the band shoulders in the second-and-first-order fit method are fixed to the usual ranges of these minerals).

An additional challenge was found when the spectra had a steep slope, this creates an effect where the local maximums are masked, especially near the right shoulder of the 1 μm absorption band (also the left shoulder of the 2 μm absorption band). This resulted in an incorrect calculation of the convex hull and the second-and-first-order fit methods, since the algorithm was not able to find the local maximum. To bypass this problem, we created a tie-point between 1 and 2 μm, which is set to a higher value than the surrounding data, ensuring that the continuum removal process will count it as a maximum. This artificial point marks the closure of the absorption band at 1 μm and the beginning of the one at 2 μm, only when the spectral signature is too featureless to be detected. The position of the tie-point was defined as the most prominent peak of the difference between the original spectrum and its continuum, calculated with a linear fit between 1.02 and 2.09 μm. We selected this range since the absorption band at 1 μm usually closes inside it.

3.2.4 Key Parameters Extraction

Once the continuum has been removed, the data is ready for the retrieval of spectral indexes. Two parameters were calculated first, the position of the minimum reflectance and the position of their two surrounding shoulders, for both the 1 and 2 μm bands. These parameters are key to calculate other indexes since they define the limits of the two main regions of mineralogical interest. The minimum is also used to derive the band depth, while the shoulders are necessary to calculate the band areas, which in turn allow the definition of the band asymmetries. The position of the minimum reflectance (or maximum absorption) is simply defined as the wavelength where the spectrum has its lower value, this is calculated independently for the 1 μm and the 2 μm band, being the tie-point the limit for both. The positions of the shoulders were defined as the first local maximums to the left and right of the band minimum. Since this operation is done after the removal of the continuum, the shoulders have values equal to one (Figure 2). Also, the data after 2.65 μm was cut from all the spectra, so this value is set as the right shoulder of the 2 μm band for every pixel.

Once the continuum removal was performed, we made a second-order polynomial fit around the minimums and maximums to further reduce the noise of the resulting indexes, this is done within a window from two wavelengths lower up to two wavelengths higher.

We established detection limits for the key parameters using thresholds for the band depths since it would not be accurate to analyze the absorption band if it is too shallow. Below the thresholds, the band center, depth, area, asymmetry, and derived parameters are not calculated. The definition of the limit was done using the cube for the Apollo Basin, since it contains several types of terrains, and thus is representative of the overall lunar mineralogy. The lowest meaningful detection would be around 0.005 since the level of the noise is typically lower than this value (Figure S2 in Supporting Information S1). However, a higher threshold was established using the distribution of the band depths at 1 and 2 μm, we choose a limit at 1.5 standard deviations to the left, that is 0.026 for the 1 μm absorption, and 0.017 for the 2 μm absorption. By doing a manual check of spectra with band depths below these values, we found that the absorption features are usually anomalous, and should not be computed (Figure S3 in Supporting Information S1). A total of 0.15% pixels were filtered for 1 μm, and 0.35% at 2 μm for the Apollo basin cube. By setting these limits it is possible that some true detections would be lost, especially for cubes with wider distributions or less mineralogical variation; nevertheless, most anomalous detections might be avoided, and the number of pixels removed below these limits is not substantial.

3.2.5 Indexes Generation

A total of 28 indexes were reconstructed in this work. In Table 1 we report the calculation of the parameters, their significance, and exemplary RGB composites that use them. We created Python functions that generate a raster for every index listed in Table 1.

Among the parameters, the ones done before the removal of the continuum consists of simple operations between bands. Those can be quickly calculated in Python after ingesting and filtering the data. As an example, the pyroxene ratio formulated by Pieters et al. (2014) was calculated as:
Px = R 700 nm + R 1200 nm R 950 nm $\text{Px}=\frac{R700\,\text{nm}+R1200\,\text{nm}}{R950\,\text{nm}}$ (1)
where, for example, R700 is the reflectance at 700 nm. A list with all the formulations can be found in Table 1. For the parameters done after the continuum removal, the calculation involves operations between the continuum and the spectrum. The band center and the band depth are defined as (Adams, 1974):
BCI = RB nm RB c nm $\text{BCI}=\left(\frac{\text{RB}\,\text{nm}}{{\text{RB}}_{c}\,\text{nm}}\right)$ (2)
BD = 1 RB nm RB c nm $\text{BD}=1-\frac{\text{RB}\,\text{nm}}{{\text{RB}}_{c}\,\text{nm}}$ (3)
where RB is the reflectance of the spectrum, and RBc the value of the continuum. The band area was calculated for the two main absorption bands at 1 and 2 μm with (Cloutis et al., 1986):
BA = 1 RB nm RB C nm SR $\text{BA}=\sum 1-\frac{\text{RB}\,\text{nm}}{{\text{RB}}_{C}\,\text{nm}}\ast \text{SR}$ (4)
where SR is the spectral sampling of the cube, and the summation is limited by the positions of the shoulders of the absorption bands. Finally, the asymmetry is calculated as the difference in the area between the right and left half of the absorption band (Figure 2). Given as a positive percentage when the asymmetry is higher to the right, and negative when it is higher to the left. A more complex index is the IBD (Bretzfelder et al., 2020), that is the sum of the band depths at each point along the full extension of an absorption band. It was calculated as:
IBD = 1 R ( B nm + SR ) RB C ( B nm + S R ) $\text{IBD}=\sum 1-\frac{R(B\,\text{nm}+\text{SR})}{{\text{RB}}_{C}(B\,\text{nm}+SR)}$ (5)

A few indexes were adapted in this work from previous authors. Horgan et al. (2014) evaded using the band area and asymmetry at 2 μm since the absorption features of pyroxenes at longer wavelengths is not fully captured by the range of M3. Nevertheless, we believe calculating them is still useful, so we use the same method as their counterparts at 1 μm, closing the spectrum at 2.5 μm to avoid hydroxyl absorptions at 2.8 μm and the instrumental errors of the last channels. At last, we generated a chromite parameter. Since the reflectance spectrum of chromite is like the one of spinel, but with absorptions bands located at slightly longer wavelengths (Cloutis et al., 2004), we followed the approach of Moriarty et al. (2023) for spinel. The parameter is a ratio between an extrapolated value at 1.5 μm, using the slope between 0.75 and 1.3 μm, and the reflectance value at 2.7 μm. Like on the spinel parameter, this should highlight regions where the 2 μm absorption is higher than usual. It is important to consider that the spectrum of both minerals is similar, so a unique parameter that differentiates between them is difficult to achieve.

3.2.6 RGB Composites Delivered

The parameters can be combined between each other in RGB composites to highlight mineral associations or variations in the composition of the surface. Table 1 shows examples of RGB composites used by previous authors, for the sake of clarity we arbitrary named the composites with consecutive numbers. Among them are the Clementine-like composite of Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000), three composites suitable for the exploration of mafic minerals and evaluate surface maturity by Zambon et al. (2020) (RGB1, RGB2, and RGB3), two composites focused on crater ejecta by Horgan et al. (2014) (RGB4 and RGB5), two composites to detect mafic minerals by Besse et al. (2011) (RGB6 and RGB7), the olivine detection composite of Bretzfelder et al. (2020) (RGB8), and the spinel composite of Moriarty et al. (2023). Furthermore, other combinations of parameters can be done to highlight different compositions or mineral associations. For this reason, we created a python function that combines all the indexes in a single tiff file, this allows the user to reproduce each one of the listed RGB composites and more in a geoprocessing software like QGIS.

3.3 Deployment

MoonIndex is deployed as a python package with an MIT license. It is reachable from the web repositories PyPI and GitHub. Some exemplifying products will be showcased in the Space Browser of the EXPLORE platform (Nodjoumi et al., 2022). The source code of the tool is fully available at GitHub (Suárez-Valencia, 2024), so the user has the option to modify it to its needs.

4 Results

In this section we will showcase our results obtained with the convex hull continuum-removal method for a selected set of indexes, that we will later compare with the results of previous authors. Nevertheless, the results for all the calculated indexes are reported in the supplementary materials (Figure S4 in Supporting Information S1). The analysis of the images and the subsequent interpretation of the mineralogy are particular to the selected study zones, so the user must consider the regional properties of their targets when using the products of MoonIndex.

4.1 Filtering

Our first goal was to reduce the noise of the data using a Fourier and a Gaussian filter without losing much scientific information of the general shape of the spectrum and the absorption bands. In Figure 7c, the ratio between the original image and the filtered one shows that the residual information is concordant with the stripes on the non-filtered cube (Figure 7b), furthermore, the crater in the bottom-left has little residuals, since the striping was not as strong in this location. Another test was to identify the pixels that overcame a change of over 2% during the filtering (Figure 7d), which are shown in black. These pixels are consistent with the original striping, which means that the surface information that was visible before the filtering (yellow) was not affected by the process.

4.2 Band Center and Depth

The bands centers and depths calculated by MoonIndex for the Apollo basin are shown in Figures 9a–9d. The band center defines the position of the absorption features to study, which in the case of pyroxenes and olivines is related to their composition (Burns, 1993; Klima, Dyar, & Pieters, 2011; Klima, Pieters, et al., 2011). The band depth in turn reflects the amount of that mineral, since a stronger signal indicates a higher abundance within a mixture (Cloutis et al., 1986). On the band center at 1 μm there is a clear difference between the areas corresponding to highlands and maria (Figure 9a). The first ones have centering values around 0.93 μm, indicating at least a lack of pyroxenes; while in the mare, the band is centered at longer wavelengths, around 1.04 μm, resulting from the presence of pyroxene on the basaltic lavas (Klima, Dyar, & Pieters, 2011; Klima, Pieters, et al., 2011). Furthermore, the variations inside the maria hints to a compositional variation of pyroxenes, since OPX tends to have lower center values than CPX. The band depth at 1 μm also allows the identification of mafic minerals (Figure 9c), if the levels of space weathering is equivalent, greater band depths indicates a major abundance of them. The band depth at the center of the basin shows values around 0.13, while in the surrounding highlands it is only around 0.05. The position of the band center at 2 μm inside the maria varies between 2.05 and 2.2 μm, further pointing to some variations in the composition of pyroxenes. Finally, the band depth at 2 μm shows strong absorption in the maria of around 0.08, further pointing to the presence of pyroxene (Figures 9c and 9d). Olivine does not show features in the 2 μm spectral range, so a comparison between both band depths can help identify its presence (see Index RGB 8) (Isaacson et al., 2011).

Details are in the caption following the image

Initial parameters calculated by MoonIndex for the Apollo basin. (a) Band center at 1 μm, lower values (blue) correspond to highlands materials, while higher values (red) are due to the presence of mafic minerals in the mare. (b) Band depth at 2 μm, also allows differentiation between highlands and mare. (c) and (d) Band center and depth for 2 μm, they serve a similar purpose as their 1 μm counterparts.

Some instrumental and acquisition artifacts are also seen. The band depth at 2 μm is especially sensitive to the already mentioned thermal instrumental error that causes a decrease of the values from right to left of the M3 cubes at longer wavelengths (Green et al., 2011), resulting in the maria regions to the left of the image showing a similar depth as the highlands. Steep regions with high incidence angles show anomalous values on all the indexes, therefore information in those zones is not reliable.

4.3 Band Area and Asymmetry

To showcase the band area and asymmetry obtained by MoonIndex, we use the cubes over the Aristarchus crater, which has a well-preserved ejecta blanket around and a variety of glass-bearing materials (Mustard et al., 2011). The band area corresponds to the region inside the continuum and the absorption band (Figure 2). The band area is useful to identify ejecta (Horgan et al., 2014), as well as mineralogical differences, since OPX-rich ejecta has a higher band area value than CPX-rich ones (Cloutis et al., 1990). The band asymmetry quantifies the shape of the absorption band by comparing the area to the left and right of the position of the band center, negative values imply a bigger area left of the center, and positive values the opposite. The band asymmetry is useful to identify glass and olivine-bearing ejecta, as well as plagioclase. Since mixtures of pyroxene with those materials result in higher asymmetries than only pyroxene (Horgan et al., 2014). For the band area at 1 μm in the Aristarchus crater, the ejecta is clearly recognizable as a zone with low values scattered around the crater (Figure 10a). In the band asymmetry at 1 μm, the only contrasting feature is the negative values of the northern ejecta (Figure 10b), which previous authors have identified as a mixture of OPX and anorthosite (Chevrel et al., 2009). In the band area at 2 μm, the pattern of the ejecta is not so clear compared to its 1 μm counterpart, the lower values in the southern half of the ejecta indicate a lower amount of pyroxene on it (Figure 10c). As for the band asymmetry at 2 μm (Figure 10d), we found that the landforms are clearer than in its 1 μm equivalent. Still, higher values are encountered in the ejecta south of the crater in both asymmetries, pointing to the presence of glass-bearing lithologies (Horgan et al., 2014).

Details are in the caption following the image

Band areas and asymmetries calculated by MoonIndex for the Aristarchus crater. (a) Band area at 1 μm, the ejecta of the crater is clearly visible, the higher values, in red, indicate enrichment in OPX. (b) Band asymmetry at 1 μm, higher values indicate the existence of glass-bearing ejecta. (c) Band area at 2 μm, the low values at the southern part of the ejecta indicates low abundance of pyroxene. (d) Band asymmetry at 2 μm, higher values also point to glass-bearing ejecta, but the widespread lower values are due to the band being cut off at 2.5 μm.

Negative values dominate the 2 μm asymmetry, meaning that the absorption band is broader left of the 2 μm center. This effect is introduced by closing the absorption band at 2.5 μm, which cuts parts of the band at longer wavelengths and ends up affecting the area and shape of the band, and thus also the asymmetry.

4.4 RGB Composites

The Clementine-like color composite (Red: 750 nm/540 nm, Green: 750 nm/1,000 nm, Blue:540 nm/750 nm) produced by MoonIndex for the Vallis Alpes region is showcased in Figure 11. This composition, originally formulated by Lucey, Blewett, and Jolliff (2000) and Lucey, Blewett, Taylor, and Hawke (2000), displays highlands material in red, due to glass agglutinates, and maria in yellow-green due to the combination of mafic minerals signals. Our result is concordant with this distribution, since the yellow location to the south of the image corresponds to the Imbrium mare, and the red zone that covers the majority of the image is the rim of the Imbrium basin, a highlands-like terrain. A smaller linear-shaped concentration of mafic minerals is also identifiable to the north, which is related to the basaltic flood inside the Vallis Alpes.

Details are in the caption following the image

Clementine-like color composite created with MoonIndex. The red channel is 750 nm/540 nm, the green channel is 750 nm/1,000 nm, and the blue channel is 540 nm/750 nm. The highlands appear in red due to the concentration of glassy agglutinates, and the maria and basaltic floods appear in yellow-green due to the combination of mafic minerals. Vallis Alpes shows a signal pointing to mafic minerals.

5 Discussion

5.1 Filtering

To evaluate the effect of the filters, we compared our results with the ones of Zambon et al. (2020) on the Apollo basin. Figure 12 shows the position of the band centers at 1 μm. A reduction in the number of vertical stripes is achieved with the combined filtering applied by MoonIndex (Figure 12a), this is more noticeable in the highlands around the Apollo basin, where the information of the surface is not so distorted by vertical lines with anomalous values, as is the case for the band center of Zambon et al. (2020) (Figure 12b). Furthermore, the spectral patterns of the surface are maintained after the filtering, the higher values at the center of the basin and their progressive reduction to its edges is equally recorded in both images, meaning that details were not lost. This is also true for small surface features, like the several craters in the southern highlands (black circles in Figure 12), which can be recognized in both versions of the index by their centering at longer wavelengths compared to their surroundings. There are other filtering methods for hyperspectral data apart from the one used in this work, different approaches include the transformation of the data using Principal Component Analysis combined with pixel local grounding (L. Zhang et al., 2010), or some variation of the MNF method mentioned earlier (Luo et al., 2016). Further work is needed to test and implement these options in MoonIndex, which is facilitated and encouraged by the Open-Source nature of the tool. Another further implementation to enhance the visualization of the resulting indexes would be to remove pixels with high incidence angles, which would require the extraction of this metadata from the OBS. IMG file downloaded from the PDS and its integration to the code of MoonIndex.

Details are in the caption following the image

Band centers at 1 μm for the Apollo basin. (a) Band center calculated in this work, after the Fourier and Gaussian filtering, the number of vertical stripes is less than in a non-filtered cube, especially on the highlands. (b) Band center calculated by Zambon et al. (2020). The black circles contain small craters, the signal of these geological features is maintained after the filtering, as well as the major spectral features.

5.2 Parameters

The resemblance of our parameters with the ones in the literature varies. For the indexes that are formulated before the continuum removal, such as the Clementine-like index, the results are consistent with the original data, with changes only in the spatial resolution and the noise patterns, both particular to each instrument. Nevertheless, for the indexes obtained after the continuum removal, we identified variations with respect to the original formulations, which are related to the methodologies used by every author. In Figure 13 we compare our results for the band center and depth at 1 μm with the ones of Zambon et al. (2020). Figure 13a shows the ratio between the band centers, the major differences can be seen in red vertical lines and in the rims of big craters. The first ones are related to the removal of vertical stripes during the filtering, and the second ones to high incidence angles at the slopes of the craters. This indicates that there are no major variations in the surface data, except at particular locations inside big craters. The distribution of both histograms (this work in blue, Zambon et al. (2020) in red), also reflects a similar trend in both indexes (Figure 13c), most of the pixels in both cases are centered between 0.9 and 1.1 μm. Still, the band centers of Zambon et al. (2020) have a slight shift to shorter wavelengths, especially in high-slope crater rims (Figure 12b). Major differences can be seen in the ratio of the band depth at 1 μm. The red areas are widespread, and although most of them are due to the destriping of our data, changes are considerable in locations with clear signals of the surface (Figure 13b). This is more noticeable in the histograms of the band depths (Figure 13d), where the values of Zambon et al. (2020) accumulate more at higher values. As the band area and asymmetry are both derived and linked to the band depth, our results also diverge in a similar way from the ones of other authors. This major discrepancy in the band depth compared to the band center is the result of using different continuum-removal methods, as we will discuss later.

Details are in the caption following the image

Comparison of our results and the ones of Zambon et al. (2020), for the band center and depth at 1 μm in the Apollo Basin. (a) Ratio of the band centers, the major differences correspond to removed noise or crater rims, (b) Ratio of the band depths, more discrepancies can be seen apart of the stripes and crater rims, (c) Histogram of values for the band centers, trends are similar, with a small shift to smaller wavelengths in Zambon et al. (2020), (d) Histogram of values for the band depths, a bigger shift is seen in this case, as the results of Zambon et al. (2020) accumulates at higher values. The difference in the counts in the histogram is due to a major amount of no data pixels in the results of Zambon et al. (2020).

5.3 Color Composite Maps

The comparison of our RGB color composite maps with the ones in the literature presents certain difficulties. The source material from previous authors is not always available, therefore we cannot properly configure parameters like the band stretch or rendering method. Nevertheless, even when the specific colors and tonalities of the indexes may vary between works, the patterns of the geological features on the image and their differences should remain identifiable. This should allow for robust enough cartographic use of derived data.

The RGB 4 index (Red: Band center at 1 μm, Green: Band center at 2 μm, Blue: Band area at 1 μm) recreated in this work is close to the original one produced by Horgan et al. (2014) (Figures 14a and 14b) for the Aristarchus crater. The main colors are maintained, and the geological features are easily recognizable. This index is particularly useful to differentiate between pyroxenes, OPX is seen in blue, CPX in yellow, and a mix between them is green. Ejecta glass is also visible in magenta and orange. Although both indexes are generally compatible, there are some differences in the distribution. In our results the blue areas are smaller, indicating a lesser amount of OPX in the ejecta blanket. The black regions on the original index are pink in our work, which correspond to shadows or melt with no major signal around the 1 μm band. On the other hand, the differences are bigger for the RGB 5 (Red: Band asymmetry at 1 μm, Green: Band center at 1 μm, blue: Band center at 2 μm), also originally formulated by Horgan et al. (2014) (Figures 14c and 14d). This index is intended to highlight glass-bearing lithologies due to their high asymmetries, which will appear in pink and yellow. Both indexes are consistent north of the Aristarchus crater; the large pink area north of the crater is followed by the yellow-dominated locations. To the south, the results of Horgan et al. (2014) show lesser amounts of glass, while ours have a pink area that fits well with the ejecta blanket of the crater. The index that differs the most with the one of Horgan et al. (2014) is the band asymmetry at 1 μm, this is probably related to the continuum-removal method used by the prior authors, which applied a second order polynomial fit to the data.

Details are in the caption following the image

Comparison between our results and the ones of Horgan et al. (2014) for the Aristarchus crater. (a) RGB 4 recreated in this work, the red channel is the band center at 1 μm, green is the band center 2 μm, and blue is the band area at 1 μm. (b) Original RGB 4 by Horgan et al. (2014), both color ramps are consistent, and the ejecta blanket and its compositional variation are seen in both cases, blue implies OPX, yellow CPX and green a mix of both. (c) RGB 5 recreated in this work, the red channels are the band asymmetry at 1 μm, green is the band center at 1 μm, and blue is the band center at 2 μm; overlaid by the band area at 1 μm in grayscale. (d) Original formulation of the RGB 5 by Horgan et al. (2014), the color ramp is less consistent, especially at the ejecta south of the crater, nevertheless the distribution of glass-bearing rocks (yellow and pink) is consistent north of the crater. The stretch values of Horgan et al. (2014) are unknown.

Another index worth comparing is RGB 8 (Red: Band depth at 1.9 μm, Green: IBD at 2 μm, Blue: IBD at 1 μm), originally formulated by Bretzfelder et al. (2020) for the Vallis Alpes region. On the original index, yellow corresponds to OPX, cyan to CPX, and most important, dark blue shows olivine-bearing massifs. Our results show a different color ramp (Figure 15). This occurs because we used a modified method to calculate the band depth at 1.9 μm; instead of creating a specific continuum for the band, we measure the depth directly on the convex-hull removed spectra. But even if the calculation and the resulting color ramp are different, the same geological patterns are still identifiable in both composites. In our results, CPX is still yellow, OPX is light-toned blue, and olivine-bearing rocks appear in dark purple. An example of the last is the isolated mountain next to the southern edge of Vallis Alpes, which shows a strong olivine signal in both indexes (Figure 15). Since this index was thought specifically to identify olivine, our result is still relevant and applicable for that purpose.

Details are in the caption following the image

Comparison between our results and the ones of Bretzfelder et al. (2020) for the Vallis Alpes. (a) RGB 8 recreated in this work, red is the band depth at 1.9 μm, green is integrated band depth (IBD) at 2 μm, and blue is IBD at 1 μm. (b) Original formulation of the RGB 8 by Bretzfelder et al. (2020). Stretch values are unknown. The ramp color is different in both cases, due to a change in the calculation of the band depth at 1.9 μm. Nevertheless, the pattern of geological features is maintained, for example, the dark blue spots on the original index correspond to olivine (red circle), and in our recreation those same areas appear purple.

5.4 Effect of the Continuum-Removal Method

The differences between our results and the ones of the previous authors are produced by several factors. The method used to remove the continuum is the main variable affecting the indexes. Since most of the previous authors used a combination of linear fits and second-order fits within defined intervals (Horgan et al., 2014; Zambon et al., 2020), a comparison between the results of our convex hull and second-and-first-order fit methods is helpful to explain the changes.

The general shape of the resulting continuum-removed spectrum is similar in both methods (Figure 16a), and all the parameters of the absorption bands are well represented and easily measurable. The position of the band center is not greatly affected by the removal method; the average difference between both procedures is 5 nm at the 1 μm absorption band, and 25 nm at the 2 μm band, which is in both cases smaller than the spectral sampling of M3 for those regions. On the other hand, the band depth is especially sensitive to the selected method, which can be appreciated by subtracting the images (Figure 16b). At 1 μm the band depth varies considerably, higher values are obtained with the second-and-first-order fit method in the highlands (Figure 16a), while in the mare the result is the opposite (Figure 16c). This inconsistency is the result of the way in which both methods define the continuum line. The second-and-first-order fit interpolates a second order polynomial function between two arbitrarily defined shoulders, while the convex hull draws a straight line connecting the local maximums it automatically computes (Figure 8). Hence, when the absorption band is weak, like on the highlands, the concave shape of the second-and-first-order fit method creates a slightly higher distance to the spectrum, resulting in bigger band depth values (Figure 16d). As for the maria regions, it looks like the convex hull method is identifying the right shoulder at longer wavelengths, which produces a deeper band depth. The band depth at 2 μm is less affected by the method, the variation is lower than in the 1 μm band, and most of the values are inside one standard deviation (Figure 16e). The second-and-first-order fit method uses a straight line for the 2 μm absorption band, thus the result is closer to the also linear interpolation done by the convex hull. Subsequent indexes like the band area and asymmetry are also affected in similar ways, especially at the 1 μm absorption bands, as larger band depths will result in larger band areas.

Details are in the caption following the image

Comparison between the band depth results of the convex hull and the second-and-first-order fit methods for the Apollo basin. (a) Spectral profiles of the same pixel on the highlands using the two methods, the band depth is greater with the second-and-first-order fit method. (b) Image showing the difference between the results of the methods, in red regions where the second-and-first-order fit returned higher values, in blue the opposite. (c) Spectral profiles on the mare, this time the convex hull has a higher band depth. (d) Histogram of the values at 1 μm, the values are scattered more than two standard deviations. (e) Histogram of the values at 2 μm, the difference between both methods is close to zero, and the values are not so scattered.

Several other factors are surely responsible for changes on the resulting indexes, but the lack of source materials for some of the indexes makes them difficult to evaluate. During the preprocessing of the data many factors could change, if the authors applied custom filtering or workflows before calculating the indexes, that would affect the end-result. Another difficulty is added to the RGB composites, even if the formulations are similar, we cannot be sure of the color stretch or the display settings of the original indexes. Small changes in the intervals of the values displayed by each channel can greatly modify the color ramp of a composite. In any case, the geological and spectral features on our composites are consistent with the original ones regardless of their tonality, so the products of MoonIndex appear to be reliable for geological analysis.

The reconstruction of spectral indexes from such varied sources makes it difficult to accomplish a high fidelity in all of them. This is especially true when some of those indexes were formulated several years ago, with different missions, methodologies, and technologies. Nevertheless, our methodologies and results are consistent with each other, so the analyses derived from them are complementary and comparable. Given this context, consistency between the data is important when applied to the geological analysis of a region on the Moon, so we recommend the users of MoonIndex to use only one of the continuum removal methods for each project they might work on.

6 Conclusions

Spectral indexes are an easy and versatile way to approach the compositional analysis of the Moon. Table 1 highlights proven indexes found in the literature, but other operations or RGB composites can be made with the products of MoonIndex to explore different mineralogical properties. During our recreation of the spectral indexes in python we added certain improvements to the data of M3. The Gaussian and Fourier filtering proved useful to reduce the vertical striping typical of M3 cubes, allowing the retrieval of clearer spectra, especially from cubes that otherwise would be almost useless for geological interpretation.

The implementation of the convex hull method to remove the continuum has certain advantages over the second-and-first-order fit method. As it creates an envelope over the local maximums, the shape of the absorption bands present on the spectrum should be identified correctly. Furthermore, the convex hull works automatically over the data, removing the necessity of establishing arbitrary limits for the interpolations. We recommend the use of the convex hull method over the second-and-first-order fit method, still both methods are implemented in MoonIndex.

The fidelity of the reconstructed indexes varies for several reasons. The most important one is related to the use of the convex hull method to remove the continuum, opposite to the polynomial fits applied by previous authors. But other factors unreported in the literature likely affected the results, such as the preprocessing routines, filtering methods, or the visualization parameters of the composites. Nevertheless, despite some changes in tonalities and values, the reproduced indexes have a similar scientific meaning in all cases and highlight the same compositional properties as the original formulations. The indexes produced by MoonIndex are consistent with each other, but the methodologies and algorithms described in this work should be considered when comparing them with indexes from other works.

Finally, MoonIndex was created to give a better accessibility to this kind of products to the scientific community. The package is Open-Source and freely available, so the users can modify it for their own purposes. The necessity to preprocess the data in other not-so-intuitive software like ISIS and GDAL may make the task difficult, but other tools like the EXPLORE platform or the GMAP Jupyter Hub (Nodjoumi et al., 2022), could contribute to ease the process. It is worth mentioning that the commercial software ENVI is typically used instead of ISIS for georeferencing and calibrating M3 data, and although we advocate for freely accessible software, the products derived from ENVI could be processed by MoonIndex without problems after being ingested to Python.

Acknowledgments

This research was done on the framework of the EXPLORE project, that has received funding from the European Union’s 2020 research and innovation program under Grant 101004214. Additionally, we had support from the GMAP project, part of the Europlanet 2024 RI has received funding from the European Union's Horizon 2020 research and innovation programme under Grant 871149. Open Access funding enabled and organized by Projekt DEAL.

    Data Availability Statement

    MoonIndex is available for Python 3.10 and higher in the PyPI repository. The tool is released under the GNU general public license. The source code, exemplary Jupyter notebooks, definition of functions, and workflows can be accessed via GitHub and Zenodo (Suárez-Valencia, 2024). The raw data sets used in this work can be accessed through the PDS, and versions ready to use on MoonIndex are reachable at: Suárez-Valencia et al. (2024).