선정목록으로
The Rising Sun Envelope Method: an automatic and accurate peak location technique for XANES measurements
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1909.06049
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1909.06049
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W6910490019
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
The lack of theoretical understanding of X-Ray Absorption Near Edge Structure (XANES) spectroscopy makes the development of analysis tools for its study a necessity. Here, an algorithm for judicious choice of local minima and maxima points of XANES spectrum (experimental or simulated) is proposed, without any loss of information on peaks location nor on peak strength. We call it the Rising Sun Envelope Method, since it is based on successive regularizations of the spectral measurement that, according to parameter choices that are intrinsic to the measurements, keep peaks location and strength as invariants. This is the first method that finds peaks in XANES automatically, without depending on first derivative information. Nevertheless, a direct computation of Absorption-Edge is provided, where we avoid the issue inflection point computations based on the XANES second derivative, dealing instead with simpler computations of inflection points of higher quality cubic spline approximation. Besides applications of the algorithm to XANES, we illustrate further applications in Electron Energy Loss Spectroscopy (EELS) and Raman spectra.
본문 53,307자
본문 펼치기
The Rising Sun Envelope Method:
an automatic and accurate peak location technique for XANES measurements
Rafael Monteiro <sup>_∗_</sup>
_MathAM-OIL, AIST, c/o Advanced Institute for Materials Research, Tohoku University, Sendai, Japan_
Itsuki Miyazato and Keisuke Takahashi <sup>†</sup>
_Department of Chemistry,_ _Hokkaido University,_ _N-10 W-8,_ _Sapporo 060-0810,_ _Japan and_
_Center_ _for_ _Materials_ _research_ _by_ _Information_ _Integration_ _(CMI_ <sup>2</sup> _),_
_National Institute for Materials Science (NIMS), 1-2-1 Sengen, Tsukuba, Ibaraki 305-0047, Japan_
(Dated: September 16, 2019)
The lack of theoretical understanding of X-Ray Absorption Near Edge Structure (XANES) spectroscopy
makes the development of analysis tools for its study a necessity. Here, an algorithm for judicious choice of
local minima and maxima points of XANES spectrum (experimental or simulated) is proposed, without any
loss of information on peaks location nor on peak strength. We call it the _Rising Sun Envelope Method_, since it
is based on successive regularizations of the spectral measurement that, according to parameter choices that
are intrinsic to the measurements, keep peaks location and strength as invariants. This is the first method
that finds peaks in XANES automatically, without depending on first derivative information. Nevertheless, a
direct computation of Absorption-Edge is provided, where we avoid the issue inflection point computations
based on the XANES second derivative, dealing instead with simpler computations of inflection points of
higher quality cubic spline approximation. Besides applications of the algorithm to XANES, we illustrate
further applications in Electron Energy Loss Spectroscopy (EELS) and Raman spectra.
INTRODUCTION
Atomic-Absorption Spectroscopy is a fundamental
tool in Material Sciences for characterization of physical
and chemical properties of materials [1]. In its foundations, the method is based on the photoelectric effect:
upon interaction with photons or other particles the material’s atoms absorb, emit, and reflect incoming radiation to neighboring atoms, thus providing information
about the material’s atomic structure and its complexities [2, §1-2]. In spite of its wide use, it is still a challenging task to extract meaningful and relevant information
from spectra obtained in experimental measurements,
and many theoretical questions in the field remain open.
One type of these measurements is known as X-Ray
Absorption Near Edge Structure (XANES) [3–5] observed
in X-ray Absorption Fine Structure (XAFS), where local
structure and valence (or oxidation) state can be inferred
from the way peaks amplify and shift horizontally when
compared to peaks of a reference, non-oxidized, sample [6–10]. Several approaches to valence determination and material oxidation exist: for instance, Principal Components Analysis (PCA) is used to obtain _va-_
_lence state fingerprinting_, i.e., characterization of valence
state by interpolating it with a mixture of pure-valence
species [11], a technique that is mathematically robust
and powerful but rely on first derivative computations
[12], which lacks on mathematical rigor, for the spectra
_∗_ [monteirodasilva-rafael@aist.go.jp](mailto:monteirodasilva-rafael@aist.go.jp)
[† miyazato@eng.hokudai.ac.jp, keisuke.takahashi@eng.hokudai.ac.jp](mailto:$\discretionary {\protect \kern +.1667em\relax \FMS/futm/m/n/8 \char 2}{}{}\discretionary {\protect \kern +.1667em\relax \FMS/futm/m/n/8 \char 2}{}{}$miyazato@eng.hokudai.ac.jp, keisuke.takahashi@eng.hokudai.ac.jp)
contains (non-differentiable) noise [13]. Direct use of
first derivatives is also common [14, 15]. From a somewhat different perspective, Machine Learning (ML) techniques have been shown to be an effective method to unveil 3D structures in Nanoparticles [16], and characterize oxidation state by use of statistical methods [17]; in
the context of XANES, it has been applied with the aim
of predicting oxidation state by learning the peak shift
[18]. Nevertheless, all these techniques rely on peak location, derivative computations, or peak shift estimates,
but up to now no method can locate a sequence of peaks
in an accurate fashion. It is worth to point out that regularization through smoothing is successfully used in linear filtering and denoising of images, because it averages
noise and keep low frequencies [19]; however, it smears
peak location and their strength, which are the objects
we are mostly interested at [20, §6].
In this paper we take a step to address, and mitigate, the aforementioned issues of characterization of
peak location in XANES by means that are not rigorous
(as differentiation methods) proposing a new method
that does not smear out neither peak location nor peak
strength. As it is the case with several tools of signal processing, the Rising Sun Envelope Method relies on resolution parameters that set up thresholds for peak location based on both their height and how far apart they
are. One of the building blocks of the paper is called the
_Rising_ _Sun_ _Envelope_ _Method_ [21], in which an operator
regularizes the XANES spectrum. The latter operator is
applied successively in different energy range intervals, a
process along which an invariant is kept at each step: in
the corresponding interval, both the measurement and
its regularization have their first peak located at the same
point. In each step these intervals get smaller, yielding
a chained sequence of intervals and an increasing sequence of peak locations in the energy range.
Towards the end of the paper several applications are
given: approximated splines are constructed, and an automatic and a more accurate way to locate inflection
points is proposed. We remark that the latter do not rely
on finite difference methods applied to the XANES measurement in order to find the second order derivatives,
a computation that gives highly oscillatory results due to
noise but, in spite of its poor quality, has been commonly
used in the literature. Furthermore, the method provides
a dimension reduction of the XANES measurement by
judicious choice of interpolation points that can be then
used for interpolation by polygonal, cubic splines, or
clamped cubic splines glued up to first derivative. In the
latter case, we assert the quality of our approximation by
comparing the inflection points obtained with the second order derivative obtained by Athena, a well established software for XANES computations [22]. Finally,
due to its generality, the Rising Sun envelope method
can also be applied to other types of spectra, a fact that
we illustrate with an application to Electron Energy Loss
Spectroscopy (EELS) and Raman spectra.
THE RISING SUN AND VALLEY OF SHADOWS ASSOCIATED
FUNCTIONS: AN ALGORITHM FOR PEAK LOCATION
Noise plagues spectral measurements with local maxima and minima, making the very distinction between
peaks and pure noise fluctuations in many ways relying
on the experimentalist’s subjective judgment. The definitions in this section introduce two parameters that aim
to both quantify and clarify the peak characterization.
In what follows, we shall consider a spectral measurement _µ_ ( _E_ ), where _e−∞_ _≤_ _E_ _≤_ _e+∞_ denotes the energy range of measurement on a meshgrid _δn_, where
_n_ is an integer and _δ_ _>_ 0 the meshgrid width. The
continuous function _µ_ ( _E_ ) represents the material’s absorption at energy level _E_ . We shall denote the restriction of this mapping to a smaller energy rage
_a_ _≤_ _E_ _≤_ _b_ by _µ_ Without any loss of gen
���[ _a_, _b_ ] <sup>(</sup> <sup>_E_</sup> <sup>).</sup>
erality, we can normalize the spectrum and consider
2
_minimum_ _relative_ _to_ _e∗_ _with_ _thresholds_ ( _h∗_, _d∗_ ) _when-_
_ever_
�� _µ_ ( _e∗_ ) _−_ _µ_ <u>�</u> _<u>E</u>_
<u>���</u> _> h∗_, _and_ _µ_
- _<u>E</u>_ <u>�</u> _≤_ _µ_ ( _E_ ) (2)
_µ_
<u>�</u>
_E_
_µ_ ( _E_ ) _=_ 1 and _µ_ ( _e−∞_ ) _=_ 0.
max
_e−∞≤E_ _≤e+∞_
_µ_ ( _E_ ) _−_ min
_e−∞≤E_ _≤e+∞_
Definition I.1 (Peak criterion with thresholds ( _h∗_, _d∗_ ) )
_Given_ _the_ _a_ _measurement_ _µ_ ( _E_ ) _in_ _energy_ _range_
_e−∞_ _≤_ _E ≤_ _e+∞_ _and fixed constants h∗_ _>_ 0 _and d∗_ _>_ 0 _. Let_
_e−∞_ _≤_ _e∗_ _< E_ _≤_ _e+∞._ _We say that E_ _is a local maximum_
_relative to e∗_ _with thresholds_ ( _h∗_, _d∗_ ) _whenever_
_holds for all e−∞_ _≤_ _E ≤_ _e+∞_ _with |E −_ _<u>E</u>_ _<u>| ≤</u>_ _d∗._
FIG. 1: An illustration of the use of ( _h∗_, _d∗_ ) in peak
finding: _µ_ ( _E_ ) is represented as full line (blue). When
looking for a local maximum with threshold ( _h∗_, _d∗_ )
relative to ( _e∗_, _µ_ ( _e∗_ )), the first value in � _e_ is not
considered a local maximum when _α ≤_ _h∗_ ; on the other
hand, if _α > h∗_, � _e_ is considered a local maximum only if
_d∗_ _< β_ . The same analysis holds for _E_, its relative height
<u>�</u> <u>�</u>
_µ_ _E_ _−_ _µ_ ( _e∗_ ) and plateau size _γ_ . The curve in red
represents the Rising Sun function _Rµ_ ( _E_ ) introduced in
(4), a valuable tool to verify the conditions in Def. I.1.
The thresholds _h∗_ _>_ 0, _d∗_ _>_ 0 are quantities used to discern local maxima/minima as _pure_ _noise_ or true peaks.
For instance, taking the limit _h∗_ _→+∞_ (resp., taking
the limit _d∗_ _→+∞_ ), no local maxima/minima are found
whereas, due to noise, in the limit _h∗_ _→_ 0 (resp., _d∗_ _→_ _δ_ )
too many points are characterized as so. Thus, both
thresholds must be tuned in order to capture intrinsic
properties of the spectrum, like noise and relative distance between peaks; in that sense, both parameters play
the role of _resolutions_, as in some tools of signal processing [23]. Furthermore, peak jumps display decaying properties, therefore it is important to take into account the relative dependence between successive maxima/minima, which is done by making each point a local
maxima or minima with respect to the previous breakpoint. This remark leads to the following:
_e−∞_ _≤_ _E ≤_ _e+∞._ _Let M >_ 0 _be a fixed integer, and h∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _>_ 0 _,_
_d∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _>_ 0 _, where_ 0 _≤_ _n ≤_ _M. Consider the points_
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _>_ 0 _, where_ 0 _≤_ _n ≤_ _M. Consider the points_
Definition I.2 (M-breakpoints with ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
Definition I.2 (M-breakpoints with ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup> <sup>threshold)</sup>
_Consider_ _a_ _measurement_ _µ_ ( _E_ ) _in_ _the_ _energy_ _range_
_e−∞_ _≤_ _E ≤_ _e+∞._ _Let M >_ 0 _be a fixed integer, and h∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _>_ 0 _,_
<u>�</u>
_E_
��� _µ_
<u>�</u>
_−_ _µ_ ( _e∗_ )
_and_ _µ_
��� _> h∗_,
_E_
<u>�</u>
_≥_ _µ_ ( _E_ ) (1)
_e−∞_ _< e_ 0 _< e_ 1 _<_ ... _eM_ _≤_ _e+∞_ . (3)
_holds for all e−∞_ _≤_ _E_ _≤_ _e+∞_ _with |E −_ _E_ _| ≤_ _d∗_ _(see Figure_
_1)._ _Similarly,_ _one says that point e∗_ _<_ _<u>E</u>_ _≤_ _e+∞_ _is a local_
_We_ _say_ _that_ _this_ _is_ _a_ _sequence_ (3) _of_ _M-breakpoints_ _with_
( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup> <sup>_threshold whenever for all n ≥_</sup> <sup>1</sup> <sup>_, each e_</sup> _n_ <sup>_with_</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup> <sup>_threshold whenever for all n ≥_</sup> <sup>1</sup> <sup>_, each e_</sup> _n_ <sup>_with_</sup>
_n_ _odd_ _(resp.,_ _even)_ _en_ _is_ _a_ _local_ _maximum_ _(resp.,_ _lo-_
_cal minimum) relative to en−_ 1 _with threshold_ ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup>
3
FIG. 3: Sketch of the _hidden peak trick_ in a XANES
spectrum _µ_ ( _E_ ). Considering an iteration from the local
minimum _e_ 2 with thresholds ( _h_ <sup>(2)</sup>, _d_ <sup>(2)</sup> ), after which the
algorithm constructs a Rising sun function _Rµ_ . When
_|µ_ ( _f_ 1) _−_ _µ_ ( _e_ 2) _| < h_ <sup>(2)</sup> _< |µ_ ( _e_ 3) _−_ _µ_ ( _e_ 2) _|_, the algorithm sets
_e_ 3 as the next breakpoint, i.e., as local maximum, while
skipping all the points in the range _e_ 2 _≤_ _E ≤_ _e_ 3. This is
problematic, for it could clearly miss local minima as _f_ 2.
The algorithm was implemented to check this case,
allowing for two options: (i) _e_ 2 is set as _f_ 2, or (ii) _e_ 3 is set
as _f_ 1; the algorithm runs from _e_ 3 after this
reassignment.
the algorithm in order to verify whether its breakpoints are indeed local minimum/maximum, in
some cases at risk of violating the peak threshold
(see Figure 3).
(C2) For any _n >_ 1, it is possible that the element _en_ in a
M-breakpoint sequence with threshold ( _h∗_, _d∗_ ) is
_of_ _the_ _truncated_ _spectrum_ _µ_
_range en−_ 1 _≤_ _E ≤_ _e+∞._
���[ _en−_ 1, _e+∞_ ] <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_that_</sup> <sup>_is,_</sup> <sup>_in_</sup> <sup>_the_</sup>
FIG. 2: Sketch of XANES spectrum and breakpoints _e_ 1,
_e_ 3 and _e_ 4. Considering _e_ 3 _−_ _e_ 0 _< d∗_ _< e_ 4 _−_ _e_ 1, we have
that _e_ 1 and _e_ 3 are local maxima with in a neighborhood
of size _d∗_, while _e_ 3 is not a local minimum in a
neighborhood of same size due to the point _e_ 0. Notice
that the sharp decay of _µ_ ( _E_ ) in the range _e_ 1 _≤_ _E ≤_ _e_ 3 is
controlled by the threshold _h∗_ . Finally, note that if
_e_ 5 _−_ _e_ 1 _< d∗_ then the algorithm skip all the points in the
range _e_ 1 _≤_ _E ≤_ _e_ 4 in the search for local minimum, being
this one of the main reasons for readapting the
threshold _d∗_ as the peak search happens; see also Figure
3 for more details.
It is clear that a local maximum _e_ 0 relative to _e−∞_
with threshold ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)) consists of a 1-breakpoint with</sup>
( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)) threshold.</sup> <sup>The previous definition takes into</sup>
account the order of the peaks and their sequential, pairwise, relative height. This step also implies that all the
elements _en_ in (3) with an even index _n_ (resp., odd index
_n_ ) are apart by a distance at least _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>).</sup>
Several aspects of the previous definitions are worth
of discussion. For simplicity, consider the thresholds
( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)) constants in</sup> <sup>_n_</sup> <sup>, assuming the value (</sup> <sup>_h_</sup> _∗_ <sup>,</sup> <sup>_d_</sup> _∗_ <sup>):</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
a local minimum/maximum of _µ_
���[ _en−_ 1, _e+∞_ ] <sup>(</sup> <sup>_E_</sup> <sup>), but</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
not of _µ_
���[ _e−∞_, _e+∞_ ] <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>(see</sup> <sup>Figure</sup> <sup>2).</sup> <sup>However,</sup> <sup>for</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>)) constants in</sup> <sup>_n_</sup> <sup>, assuming the value (</sup> <sup>_h_</sup> _∗_ <sup>,</sup> <sup>_d_</sup> _∗_ <sup>):</sup>
(C1) There is a trade-off between _h∗_ and _d∗_, and vary
ing these quantities as the algorithm evolves is important to avoid local minima between two local
maxima that would otherwise go undetected, as
discussed in Figure 2. Three mechanisms are in
place to avoid this problem: (a) sharp variations
in spectrum behavior are captured by the oscillation threshold (that is, _h∗_ large), (b) thresholds can
vary throughout the search for breakpoints (see
the algorithm 1 and Figure 5), and the most effective of them all (c), called the _hidden_ _peak_ _tricks_,
two techniques that introduce a spatial delay in
peaks found without using the _hidden peak trick_ it
is true that the distance between any two of them
that are successive local maxima or local minima
is bigger than _d∗_ ; hence, they are all peaks with
threshold ( _h∗_, _d∗_ ) in [ _e_ 0, _e+∞_ ]. Last, one can deduce from Def. I.1 that the distance between peaks
gives an estimate of the plateau sizes of the associated Rising Sun functions used to locate them;
(C3) The number _M_ is an upper bound on the num
ber of peaks to be sought. In fact, the algorithm
can stop before that many points are found: this
is verified by checking if end of the range of measurement has been reached. Indeed, checking the
Definition I.1 close to the endpoint can be an issue which we overcome by embedding the spectra
in a higher dimensional space in a trivial fashion,
that is, gluing the rightmost point to a constant in a
continuous fashion; the latter does not affect peak
4
location, peak height, nor the oscillation function
(see Definition I.4).
The following auxiliary constructions are useful to verify
the properties in the previous definitions.
Definition I.3 (Rising Sun and Valley of Shadows)
_Given the XANES measurement µ_ ( _E_ ) _in the energy range_
_e−∞_ _≤_ _E ≤_ _e+∞, we define the Rising Sun operator_
_Rµ_ ( _E_ ) _=_ _e−∞_ max _≤x≤E_ <sup>_µ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> (4)
_where we call the function Rµ_ ( _E_ ) _the Rising Sun function_
_(associated to µ_ ( _E_ ) _). We also define the Valley of Shadows_
_operator,_
_Vµ_ ( _E_ ) _= Rµ_ ( _E_ ) _−_ _µ_ ( _E_ ), (5)
_where_ _we_ _call_ _the_ _mapping_ _Vµ_ ( _E_ ) _the_ _Valley_ _of_ _Shadows_
_function (associated to µ_ ( _E_ ) _)._
The following properties are an immediate consequence
of the definition I.1 and the construction of the Rising
Sun and Valley of Shadow functions _Rµ_ ( _E_ ), _Vµ_ ( _E_ ), respectively.
(R1) The function _Rµ_ ( _E_ ) is non-decreasing. Further
more, the inequality _µ_ ( _E_ ) _≤_ _Rµ_ ( _E_ ) (equivalently,
0 _≤_ _VS_ [ _µ_ ]( _E_ )) holds;
(R2) Any non-decreasing function is invariant under
the Rising Sun operator. In particular, the Rising
Sun function is a fixed point of the Rising Sun operator, namely, _RRµ_ ( _E_ ) _= Rµ_ ( _E_ );
(R3) Let the point _<u>e</u>_ 1 be the first local maximum of _µ_ in
the range _e−∞_ _≤_ _E_ _≤_ _e−∞_ with threshold ( _h∗_, _d∗_ ).
Then, _<u>e</u>_ 1 is the a local maximum of _Rµ_ in the range
_e−∞_ _≤_ _E ≤_ _e−∞_ with threshold ( _h∗_, _d∗_ ), that is,
_µ_ ( _<u>e</u>_ 1) _= Rµ_ ( _<u>e</u>_ 1) _= Rµ_ ( _E_ ), _<u>e</u>_ 1 _≤_ _E <_ _<u>e</u>_ 1 _+_ _d∗_ .
In other words, the functions _µ_ ( _E_ ) and its associated Rising Sun function _Rµ_ have the same first
maximum in the range _e−∞_ _≤_ _E ≤_ _e+∞_ ;
(R4) Consider the first peak _<u>e</u>_ 1 with threshold ( _h∗_, _d∗_ ).
Let _<u>e</u>_ 2 be the first local maximum with threshold
( _h∗_, _d∗_ ) of _Vµ_ ( _E_ ) in the range _<u>e</u>_ 1 _≤_ _E_ _≤_ _e+∞_ . Then
<u>The (non-embedded) functions μ(⋅), μ(⋅) and μ(⋅)</u>
1.0
0.8
0.6
0.4
0.2
0.0
μ(⋅): Fe2O3
μ(⋅)
~~μ(⋅)~~
7000 7200 7400 7600 7800 8000 8200 8400
Energy (eV)
FIG. 4: A spectral measurement _µ_ ( _E_ ) of _Fe_ 2 _O_ 3, its
associated Rising Sun _Rµ_ ( _E_ ) and Valley of Shadows
functions _Vµ_ ( _E_ ). Notice the correspondence between
local mimina of _µ_ ( _E_ ) with local maxima of _Vµ_ ( _E_ ).
that the family of non-decreasing functions is closed under the action of the Rising Sun operator; (R3) asserts
the invariance of the location and strength of the first
local maximum with threshold ( _h∗_, _d∗_ ); (R4) provides
the main idea of the algorithms, giving the foundation
for the recursion in the sequence of smaller intervals
[ _en−_ 1, _e+∞_ ] _⊃_ [ _en_, _e+∞_ ].
_Quantification_ _of_ _thresholds_ ( _h∗_, _d∗_ ) _._ In the algorithm, the thresholds ( _h∗_ <sup>(0),</sup> <sup>_d_</sup> _∗_ <sup>(0)) are initialized before the</sup>
peak search begins. Both quantities are highly dependent on the nature of the spectroscopy problem one
deals with (see also Section ): easier to quantify, _h∗_ denotes a the threshold for peak height aiming to distinguish peaks from random noise fluctuations; it is mostly
dependent on the statistical error quantification or, more
precisely, on the effect of noise on the regularity of _µ_ ( _E_ ).
We estimate it using an oscillation function:
Definition I.4 (Oscillation function) _We define the oscil-_
_lation threshold h∗_ <sup>_µ_</sup> <sup>_of µ_</sup> <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>_as_</sup>
_h∗_ _= ω_ <sup>_µ_</sup> _∗_
<sup>_µ_</sup> _∗_ <sup>(</sup> <sup>_δ_</sup> <sup>),</sup> _for_ _ω_ <sup>_µ_</sup> _∗_
<sup>_µ_</sup> _∗_ <sup>(</sup> <sup>_j_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_=_</sup> _|E_ _−_ max _E_ <sup>_′_</sup> _|≤_ _j_ _δ_ <sup>_|µ_</sup> <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_µ_</sup> <sup>(</sup> <sup>_E_</sup> <sup>_′_</sup> <sup>)</sup> <sup>_|_</sup> <sup>.</sup>
_where ω_ <sup>_µ_</sup> _∗_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>_is called oscillation function of µ_</sup> <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>_._</sup>
_R∗_ _µ_ <sup>(</sup> <sup>_j_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_ωµ_</sup> _∗_ <sup>(</sup>
It is straightforward to show that _ω_
���[ _e_ 0, _e+∞_ ] <sup>(</sup> <sup>_E_</sup> <sup>) with</sup>
It is straightforward to show that _ω∗_ <sup>(</sup> <sup>_j_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_ωµ_</sup> _∗_ <sup>(</sup> <sup>_j_</sup> <sup>_δ_</sup> <sup>),</sup>
which amounts to saying that _Rµ_ ( _E_ ) is more regular (less
noisy) than the function _µ_ ( _E_ ) it is associated to; this can
be seen as a _denoising_ effect, even though the analysis is
not carried out in frequency space.
In contrast to the previous case, the parameter _d∗_ is
heavily dependent on the distribution of peaks throughout the spectrum, which a priori is unknown. By the construction of the Rising Sun function allied to (C2) we conclude that information about the distance between successive peaks provide estimates about the minimum size
( _<u>e</u>_ 2, _µ_ ( _<u>e</u>_ 2)) is a local minimum of _µ_
threshold ( _h∗_, _d∗_ ). Furthermore, _e−∞_ _≤_ _e_ 0 _< e_ 1 _≤_
_e+∞_ is a sequence of 2-breakpoints with threshold
( _h∗_, _d∗_ ).
We carefully explain each of these properties, as they are
used in the implementation of Algorithm 1: properties
in (R1) show that the Rising Sun function _Rµ_ ( _E_ ) is the
smallest non-decreasing majorant of _µ_ ( _E_ ); (R2) shows
of the associated Rising Sun’s plateaus. Thus, to initialize the code an estimate of this distance is given by _d∗_ <sup>(0),</sup>
which we take to be
_d∗_ <sup>(0)</sup> <sup>_= x_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>0,</sup> (6)
where we first compute _x_ 1 as local maximum with
threshold ( _λ_ 1 _h∗_, _λ_ 2 _d∗_ ) relative to ( _e−∞_, _µ_ ( _e−∞_ )); the
quantities _λ_ 1, _λ_ 2 are positive hyperparameters, which in
computations for XANES were set as _λ_ 1 _=_ 4 and _λ_ 2 _=_ 4 <sup><u>1</u></sup> <sup>. It</sup>
is clear from it’s construction that we have _e_ 0 _= x_ 1. Subsequently, we define _x_ 0 as
_e−∞_ _≤_ _E ≤_ _e_ 1
_x_ 0 _=_ max
_∗_
��� _µ_ ( _E_ ) _≤_ _µ_ ( _−∞_ ) _+_ _h_ (0)
. (7)
We can define what we call the _min max_ method:
_α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
min max <sup>_=_</sup>
_α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
max _x_ ˜, ˜ _y∈_ [ _en_, _e+∞_ ] _|µ_ ( ˜ _x_ ) _−_ _µ_ ( ˜ _y_ ) _|_
max _x_, _y∈_ [ _e−∞_, _e+∞_ ] _|µ_ ( _x_ ) _−_ _µ_ ( _y_ ) _|_ <sup>,</sup>
5
In this case, the initial guess given by the hyperparameter
_λ_ 3 plays an important role in the search of peaks immediately after the first located peak; however, this guess
lose importance as the method gather more data from
previous peaks, eventually _learning form it_ . In Fig. 5 we
plot a comparison between several methods to estimate
the distance; see [24] for further details.
FIG. 5: Some statistics for the threshold of distance _Fe_
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> _= α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> _= α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_h∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
_d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
<sup>(</sup> min max <sup>_n_</sup> <sup>)</sup> <sup>_·_</sup> <sup>_h_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup>
<sup>(</sup> min max <sup>_n_</sup> <sup>)</sup> <sup>_·_</sup> <sup>max</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup>
(8)
average
- _d∗_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup>
-
0 _≤k≤n_ <sup>,2</sup> .
_foil_, which is then used as an estimate for the size of
plateaus and, conveniently, as thresholds _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>). In all of</sup>
Clearly, variations of the above give different results, specially for peaks that are harder to distinguish from pure
noise spikes. An immediate objection to (8) is the use
of peaks height’s decay information to infer the peak
distance information, which give good results for small
number of peaks, but is nonetheless far-fetched. For that
reason other methods were also designed; for instance,
the threshold formula is
plateaus and, conveniently, as thresholds _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>). In all of</sup>
which the estimate for _d∗_ <sup>(0)</sup> is given by (6).
_∗_ <sup>(0)</sup> is given by (6).
A few more words about the _regression method_ are necessary: in the way it has been applied to estimate _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
_∗_
-
from _h∗_ <sup>(</sup> <sup>_j_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup>
1 _≤_ _j_ _≤n_ <sup>it</sup> <sup>can</sup> <sup>also</sup> <sup>be</sup> <sup>applied</sup> <sup>to</sup>
- _h∗_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_j_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup>
1 _≤_ _j_ _≤n_ <sup>it</sup> <sup>can</sup> <sup>also</sup> <sup>be</sup> <sup>applied</sup> <sup>to</sup> <sup>estimate</sup>
_∗_
- <u>2</u> _<u>L</u>_ _n +_ 1 <sup>,2</sup>, (9)
_h∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> . Indeed, at the _n_ th peak we would like to find a
good candidate for the threshold _h∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ; recall that the
location of the ( _n +_ 1)-th peak is unknown. We pro
���[ _en_, _en_ _+_ 2 _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
_d∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _=_ max
_d∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
�� _λ_ 3 _e_ <sup>_−n_</sup> _+_ <sup>_<u>n</u>_</sup>
2
ceed as follows: a linear regression of _µ_
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ] <sup>on</sup>
���[ _en_, _en_ _+_ 2 _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ]
_∗_
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ] <sup>, where</sup> <sup>_d_</sup> <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
where _λ_ 3 is a hyperparameter. Each method estimates
the quantity _L_ in a different way:
i. ( _Regression_ ) Given the location of i peaks, estimate
the plateau size of the next one by doing the a regression of type
_E_
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> is computed using (9) with
_±λ_ 4 _·_ - _σ_ ( _E_ ), (12)
_L_ as in (10). We estimate and write the error in the regression as _σ_ �( _E_ ) (see [20, §8, Eq. (8.4)]), from which we
obtain two curves,
_µ_ - <sup>(</sup> <sup>_±_</sup> <sup>)</sup> ( _E_ ) _=_ _β_ 0 _+_ _β_ 1 _E_
<u>�</u> <u>��</u> <u>�</u>
linear prediction
_L = αd_ exp
- _βd_ ( _i +_ 1)�, (10)
where _αd_ and _βd_ are estimated using the points
- _j_, _d∗_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup> for 0 _≤_ _j_ _≤_ _i_ .
for _en ≤_ _E ≤_ _en +_ 2 _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
_|µ_ <sup>�(</sup> <sup>_+_</sup> <sup>)</sup> ( ˜ _x_ ) _−_ _µ_ <sup>�(</sup> <sup>_−_</sup> <sup>)</sup> ( ˜ _y_ ) _|_, which
_∗_
for 0 _≤_ _j_ _≤_ _i_ .
ii. ( _Learn to trust_ ) Given the location of i peaks, esti
mate the the quantity L as
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ]
0 _≤k≤n_ <sup>.</sup> (11)
for _en ≤_ _E ≤_ _en +_ 2 _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> and _λ_ 4 a hyperparameter (in our
case set as _λ_ 4 _=_ 3 throughout computations). Now, define _S_ regression _≡_ max _|µ_ <sup>�(</sup> <sup>_+_</sup> <sup>)</sup> ( ˜ _x_ ) _−_ _µ_ <sup>�(</sup> <sup>_−_</sup> <sup>)</sup> ( ˜ _y_ ) _|_, which
_x_ ˜, ˜ _y∈_ [ _en_, _en_ _+_ 2 _d∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> ]
gives an estimate on the jump in intensity between the
_n_ -th peak (already known) and the ( _n +_ 1)-th peak (unknown). We have then the _regression_ _method_, a slight
variation of (8),
_L =_ average
- _d∗_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup>
(13)
Assuming _L_ fixed, note that when _n =_ 0 the estimate (9)
gives
_d∗_ <sup>(0)</sup> <sup>_=_</sup> <sup>max{</sup> <sup>_λ_</sup> <sup>3</sup> <sup>_L_</sup> <sup>,2};</sup>
on the other hand, as _n →+∞_
lim _∗_ _=_ max{ _L_,2}.
_n→+∞_ <sup>_d_</sup> <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
regression <sup>_=_</sup>
_S_ regression
average of previous jumps <sup>,</sup>
_∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup> _= α_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(0).</sup>
_h∗_ <sup>(</sup> <sup>_n+_</sup> <sup>1)</sup>
<sup>(</sup> regression <sup>_n_</sup> <sup>)</sup> <sup>_·_</sup> <sup>_h_</sup> _∗_ <sup>(0).</sup>
The method is illustrated in Fig. 6.
_Searching on the other side of the Near-Edge peak:_ _the_
_reflection method._ By construction, the algorithm starts
FIG. 6: An illustration of the _regression method_ applied
to Fe foil. The error curves (12) are in purple, while the
red curves give the error range at the beginning and at
the end of the regression range.
indicates the ratio between oscillation in _µ_
6
FIG. 7: An example of peak localization in Fe samples.
���[ _en_, _e+∞_ ] <sup>(resp.</sup>
For peaks on the right (resp. left) of the 0th peak, i.e.,
peak _en_ with _n >_ 0 (resp. _n <_ 0), the color of the marker
���[ _e−∞_, _en_ ] <sup>and the amount of jump to the previous peak;</sup>
_µ_
at _e_ 0, somehow ignoring any peak to the left of it. This is
somewhat intentional, and is done for two reasons: first,
away from the peak-edge (the “0th peak"), peaks on both
sides decay at different rates; second, the algorithm can
use itself in a recursive fashion to search for peaks on the
left side once it has finished the search on the right side.
The latter is carried out by reflection of the spectrum
about the peak _e_ 0, _µ_ �( _E_ ) _≡_ _µ_ ( _e_ 0 _+ e−∞_ _−_ _E_ ) and restricting the range of search to _e−∞_ _≤_ _E_ _≤_ _e−∞_ _+_ _e_ 0; the initial
thresholds _h_ <sup>�</sup> _∗_ <sup>(0)</sup> <sup>and</sup> _d_ <sup>�</sup> _∗_ <sup>(0)</sup> <sup>are estimated from</sup> <sup>_h_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> and _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>).</sup>
similarly, the color on the 0th peak denotes the ratio
between oscillation in the whole energy range
[ _e−∞_, _e+∞_ ] and its jump (or estimated jump) to previous
peak: the color is green whenever this ratio is less than
1, yellow for ratio in between 1 and 2, and red whenever
the ratio is above 3. This ratio can be used as a measure
of "peak relevance", allowing one to introduce scores to
classify the quality of the found peaks.
_∗_ <sup>(0)</sup> <sup>are estimated from</sup> <sup>_h_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(0)</sup> <sup>and</sup> _d_ <sup>�</sup> _∗_ <sup>(0)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> and _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>).</sup>
thresholds _h_ <sup>�</sup> _∗_ <sup>(0)</sup> <sup>and</sup> _d_ <sup>�</sup> _∗_ <sup>(0)</sup> <sup>are estimated from</sup> <sup>_h_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> and _d∗_ <sup>(</sup> <sup>_n_</sup> <sup>).</sup>
The output is shown in Figure 7.
_Pathological_ _measurements,_ _threshold_ _readjustment,_
_and_ _the_ _role_ _of_ _noise._ We remark that the algorithm
takes advantage of the presence of noise: in the case
of an unsuccessful search for peaks with thresholds
( _h∗_, _d∗_ ), the algorithm readjust the quantities to
_h∗_ _←_ _λ_ 5 _h∗_, and _d∗_ _←_ _d∗_ _−_ 1,
either in an alternate fashion or simultaneously (also a
hyperparameter, we set _λ_ 5 _=_ 0.9 throughout our computations); see [24] for further details. In constrast, the
algorithm would stop in the first peak of a polygonal
curve that has plateaus bigger than _d∗_ ; the implementation takes these as pathological cases, for they are not
expected in XANES. Moreover,
FURTHER APPLICATIONS
_A_ _dimension_ _reduction_ _method_ _using_ _judiciously_ _cho-_
_sen breakpoints for interpolation._ With the breakpoints
_e−∞_ _≤_ _e−M−∞_ _≤··· ≤_ _e_ 0 _≤_ _e_ 1 _≤··· ≤_ _eM∞_ _≤_ _e+∞_ in hands
we now look for a lower dimensional representation of
_µ_ ( _E_ ) in the energy range _e−∞_ _≤_ _E_ _≤_ _e−∞_ . That is, given
the points - _em_, _µ_ ( _em_ )� _−M−∞≤m≤M∞_ <sup>we</sup> <sup>can</sup> <sup>choose</sup> <sup>sev-</sup>
eral methods to interpolate the given spectrum _µ_ ( _E_ ) (see
Figure 8). The number of points in the interpolation
can be increased by further refinement of the intervals
[ _em_, _em+_ 1], for _m ∈_ { _−M−∞_,..., _M∞_ _−_ 1}. The breakpoints
the points
- _em_, _µ_ ( _em_ )
1.0
0.8
0.6
0.4
0.2
0.0
<u>GCCS of XANES spectrum, N: 24, full dim. : 222</u>
~~Xanes: FeO~~
GCCS.
ℓ <sup>∞</sup> error:0.126
<u>7100</u> <u>7150</u> <u>7200</u> <u>7250</u> <u>7300</u> <u>7350</u> <u>7400</u> <u>7450</u> <u>7500</u>
Energy (eV)
FIG. 8: Glued Clamped Cubic Spline for _FeO_, with 24
interpolation points, using judiciously chosen
interpolating points chosen by the Rising Sun Envelope
Method.
_em_, for _−M−∞_ _≤_ _m_ _≤_ _M∞_ provide a partition of the energy range _e−∞_ _≤_ _E ≤_ _e+∞_ into intervals of _almost mono-_
_tonic behavior_ . In passing, it allows for the use of interpolation methods that exploit this fact. Indeed, in between two successive breakpoints we interpolated a cubic clamped spline, that is, a spline in with zero derivative at its endpoints; we call it Glued Clamped Cubic
Spline (GCCS) the resulting concatenation of the these
clamped cubic splines along the interpolated intervals,
a result that provides a better quality of approximation
when compared to other types of interpolations (see Figure 9). Other techniques have also been implemented;
for instance: padding the endpoints of the XANES spectrum with constants was used to tame the wild behavior
of interpolation near the boundaries [20, §5.2.1], where
the spectrum was padded, interpolated and then truncated to the relevant energy region.
In Figures 9 (resp., 10) we show the _ℓ_ <sup>_∞_</sup> interpolation
error, i,.e., maximum of absolute difference, (resp., _ℓ_ <sup>1</sup> interpolation error, i.e., sum of the absolute differences).
WE compare our result to other Cubic Spline interpolations with equally spaced meshgrids with same number
or points. The error suing Glued Clamper Cubic Splines
(GCCS) is mostly smaller in lower dimensions, while it
gets similar as the dimension (number of interpolation
points) increases.
ℓ <sup>∞</sup> error comparison:
<u>GCCS versus CS (unpadded)</u>
CS: e ually spaced Fe foil
GCCS: Fe foil
CS: e ually spaced Fe2O3
GCCS: Fe2O3
CS: e ually spaced Fe3O4
GCCS: Fe3O4
CS: e ually spaced FeO
GCCS: FeO
10 <sup>−1</sup>
10 <sup>−2</sup>
30 40 50 60 70 80
Number of interpolation points
FIG. 9: The judicious choice of interpolation points
provided by our algorithm leads to better
approximation result in _ℓ_ <sup>_∞_</sup> norm, and also to exact
location of peaks. Comparison between Glued Clamped
Cubic Spline (GCCS) method and Cubic Splines (CS).
FIG. 10: Study of approximation error of interpolation in
_ℓ_ <sup>1</sup> norm comparing the Glued Clamped Cubic Splines
(GCCS) method to Cubic Splines (CS) interpolation
using equally spaced meshgrid.
_Inflection_ _point_ _calculation._ In figure 11 the first
derivative of the interpolant approximation. For peak location purposes, plotting the first derivative is unnecessary because the Rising Sun Envelope Method, for given
thresholds, finds exact peak location. Nevertheless, it is
common in the literature to associate the highest value
of the first derivative to the point of highest absorption,
which is also called the _Absorption Edge_ . As an inflection
point of the XANES measurement, the second derivative
of the measurement is commonly computed in spite of
its poor quality due to noise (see Figure 11). For comparison, we plot the first derivative of our interpolant
and all its inflection points, which are robust and more
amenable to computation due to the good differentiability properties of the clamped splines in each interval
they are defined in. The poor information given by the
second derivative of the spectrum prevents much information to be obtained from it whereas, in contrast, the
quality of the inflection points found using the clamped
splines approximation. We highlight that the approximation used in Figure 11 requires only 28 interpolation
points out of 418, that is, only approximately 6% of the
whole spectrum information was used.
_Applications_ _to_ _EELS_ _and_ _Raman_ _spectra._ The characterization of peaks shift and its intensity in Electron
Energy Loss Spectroscopy (EELS) have a similar reason
as that in XANES, therefore it is a natural object for validation of our code (see Figure 12). In Fig. 13 the Ris
10 <sup>1</sup>
10 <sup>0</sup>
10 <sup>−1</sup>
7
ℓ <sup>1</sup> error comparison:
<u>GCCS versus CS (unpadded)</u>
CS: e ually spaced Fe foil
<u>GCCS: Fe foil</u>
~~CS: e ually spaced Fe2O3~~
GCCS: Fe2O3
CS: e ually spaced Fe3O4
GCCS: Fe3O4
CS: e ually spaced FeO
GCCS: FeO
30 40 50 60 70 80
Number of interpolation points
8
<u>Raman spectrum with marked peaks</u>
Sulphur, #Breakpoints: 15
0 200 400 600 800 1000 1200 1400
Energy (eV)
FIG. 11: Inflection points of XANES measurement,
computed from approximation curved. In comparison,
the second derivative of the XANES spectrum found
using _Athena_ [22] is also given, noticeably more
susceptible to noise.
ing Sun Envelope Method is applied to Raman Spectra of
Sulphur. In Raman Spectroscopy peak location is used as
a initial that precedes Gaussian, or other type of, fitting
[25]; in this case, knowledge of peak position and its intensity helps in qualitative and quantitative comparison
between spectrum and data libraries, which is a fundamental step in Raman spectroscopy. It is worth to point
out that in Raman the distribution of peaks is more erratic, and peak strengths do not visibly seem to decay
around a particular peak. Nevertheless, the Rising Sun
Envelope Method can still be applied in this case.
<u>EELS spectrum with marked peaks</u>
60000
50000
40000
30000
20000
10000
0
FIG. 13: Raman spectra of depolarized Sulphur with
marked peaks; data source[27].
measurement, which makes it suitable for continuous,
but noisy, functions, and in particular for experimental
measurements. It provides an automated approach to
peak decomposition that uses the pointwise structure of
the function and its intrinsic properties.
Our results also provide a more accurate way to locate
the peak-edge region (see Figure 11); overall, it is the first
case in which this computation can be fully performed
automatically.
The choice for peaks as interpolating points in polygonal or cubic spline approximations is shown to be an effective way to reduce the dimension of the spectral measurements. This choice is faithful to two qualities that
are crucial in material oxidation analysis: peak location
and its strength (see Figure 7). In effect, there are many
reasons to pursue this kind of reductions: the first can be
found in the initial steps of the ML model in [18], where a
measure of the peak shift was the way the authors found
to overcome this high dimensionality issue, considerably reducing the dimension of each XANES measurement in a way that is physically consistent with experiments; the Rising Sun Envelope method was originally
developed with the intent of engineering more accurate
horizontal peak shift features. Another reason to pursue dimensional reduction is due to the difference between the dimension of spectral measurements (of order
_O_ (1000)) and the sample size (of order _O_ (100)), yielding
disparity between number of variables and number of
constraints that prevents good fitting and the use of nonlocal Machine Learning methods (as Convolution Neural
Networks) [28, §9]. Still, a third reason can be presented:
the availability of more data of XANES measurements by
initiatives like [29] will make the use ML and other Artificial Intelligence methods more common, accurate, and
effective in the field of Material Sciences [30, 31]; the
clamped spline interpolations we found not only reduce
the dimension of the data, but further capture the com
60000
50000
40000
30000
20000
10000
0
Iron_Oxide,#Breakpoints: 13
<u>Iron_Oxide_Magnetite,#Breakpoints: 16</u>
Iron,#Breakpoints: 20
680 700 720 740 760
Energy (eV)
FIG. 12: EELS spectra or Iron, Iron oxide, and Iron oxide
magnetite with marked peaks; data source [26].
DISCUSSION AND CONCLUSIONS
The Rising Sun Envelope Method is accurate in locating peak intensity and peak location, allowing for discernment between _true peaks_ from _random noise spikes_ .
The method takes into account the intrinsic noise of the
9
plexity of the XANES measurement in a regularized fashion that is accurate and representative.
Numerical code for this paper has been written in
Python and is available on [24].
ACKNOWLEDGMENT
This work is funded by Japan Science and Technology
Agency(JST) CREST Grant Number JPMJCR17P2, JSPS
KAKENHI Grant-in-Aid for Young Scientists (B) Grant
Number JP17K14803, and Materials research by Information Integration (MI <sup>2</sup> I) Initiative project of the Support Program for Starting Up Innovation Hub from JST.
XAFS spectrum data is utilized from XAFS database
available in Institute of Catalysis, Hokkaido University [32], and XAFS Spectra Library in the Center for
Advanced Radiation Sources(CARS), the University of
Chicago [33]. R. M. is grateful to the MathAM-Oil group
(AIST/AIMR, Tohoku Univ.) for several comments and
suggestions offered during a seminar where this project
was presented, specially to A. Watanabe’s (AIST) helpful
comments on Raman spectra.
Competing financial interests
The authors declare no competing financial interests.
[1] D. C. Koningsberger and R. e. . Prins, _X-ray_ _absorption:_
_principles, applications, techniques of EXAFS, SEXAFS, and_
_XANES_ . United States: John Wiley and Sons,New York, NY,
1988.
[2] G. Bunker, _Introduction to XAFS: a practical guide to X-ray_
_absorption fine structure spectroscopy_ . Cambridge University Press, 2010.
[3] A. I. Frenkel, J. A. Rodriguez, and J. G. Chen, “Synchrotron
techniques for in situ catalytic studies: capabilities, challenges, and opportunities,” _Acs_ _Catalysis_, vol. 2, no. 11,
pp. 2269–2280, 2012.
[4] A. Kuzmin and J. Chaboy, “EXAFS and XANES analysis of
oxides at the nanoscale,” _IUCrJ_, vol. 1, no. 6, pp. 571–589,
2014.
[5] M. Newville, “Fundamentals of XAFS,” _Reviews_ _in_ _Miner-_
_alogy and Geochemistry_, vol. 78, no. 1, pp. 33–74, 2014.
[6] J. Zhao, F. Huggins, Z. Feng, F. Lu, N. Shah, and G. Huff
man, “Structure of a Nanophase Iron Oxide Catalyst,”
_Journal of Catalysis_, vol. 143, no. 2, pp. 499–509, 1993.
[7] M. Belli, A. Scafati, A. Bianconi, S. Mobilio, L. Palladino,
A. Reale, and E. Burattini, “X-ray absorption near edge
structures (XANES) in simple and complex Mn compounds,” _Solid_ _State_ _Communications_, vol. 35, no. 4,
pp. 355–361, 1980.
[8] N. M. Souza-Neto, J. Zhao, E. E. Alp, G. Shen, S. V. Sino
geikin, G. Lapertot, and D. Haskel, “Reentrant valence
transition in euo at high pressures: Beyond the bondvalence model,” _Phys._ _Rev._ _Lett._, vol. 109, p. 026403, Jul
2012.
[9] L. Lin, S. Yao, R. Gao, X. Liang, Q. Yu, Y. Deng, J. Liu,
Algorithm 1: Rising sun Algorithm for peak
decomposition.
Result: Rising Sun Envelope Method for peak location of a
spectral measurement
```
/* Forward passage */
```
Data: Given a measurement _µ_ ( _E_ ) in the range
_∗_ <sup>(0),</sup> <sup>_d_</sup> _∗_ <sup>(0)</sup>
_e−∞_ _≤_ _E ≤_ _e+∞_, threshold parameters ( _h∗_ <sup>(0)</sup>
_e−∞_ _≤_ _E ≤_ _e+∞_, threshold parameters ( _h∗_ <sup>(0),</sup> <sup>_d_</sup> _∗_ <sup>(0)),</sup>
integers _M_ after _>_ 0 and _M_ before _≥_ 0, and two sets of
hyperparameters _H_ after and _H_ before
while 0 _≤_ _n < Mafter_ do
if _n is even_ then
���[ _en_, _e+∞_ ]( _E_ ) and compute the Rising
Set _f_ ( _E_ ) _= µ_
Sund function _R f_ ( _E_ ) on energy range
_en ≤_ _E ≤_ _e+∞_ ;
if _the first local maximum E_ _of R f_ ( _E_ ) _with_
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_<u>d</u>_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_threshold_ ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_threshold_ ( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_<u>d</u>_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup> <sup>_exists_</sup> <sup>then</sup>
Set _en+_ 1 _←_ _E_ ;
_n ←_ _n +_ 1 and continue;
else
“only i-breakpoints could be found”, hence
break ;
end
else
With _f_ ( _E_ ) as before, compute the Valley of
Shadows function _V_ _f_ ( _E_ ) _= R f_ ( _E_ ) _−_ _f_ ( _E_ ); set
_f_ ( _E_ ) _= V_ _f_
���[ _en_, _e+∞_ ]( _E_ ) ;
if _the first local maximum E_ _of_ _f_ ( _E_ ) _with threshold_
( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
_∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup>
( _h∗_ <sup>(</sup> <sup>_n_</sup> <sup>),</sup> <sup>_d_</sup> _∗_ <sup>(</sup> <sup>_n_</sup> <sup>))</sup> <sup>_exists_</sup> <sup>then</sup>
Set _en+_ 1 _←_ _<u>E</u>_ <u>;</u>
_n ←_ _n +_ 1 and continue;
else
“only i-breakpoints could be found”, hence
break ;
end
end
end
```
/* Reverse parrage: search on the left side of the
0th peak */
```
if _Mbefore >_ 0 then
Define _µ_ �( _E_ ) _= µ_ ( _e−∞_ _+_ _e_ 0 _−_ _E_ ) in the range
_e−∞_ _≤_ _E ≤_ _e_ 0 _+_ _e−∞_ ;
Run the previous code on threshold parameters
_h_ <sup>(0)</sup>
( <sup>�</sup> _∗_
<sup>(0)</sup> _d_ <sup>(0)</sup>
<sup>�</sup> _∗_ <sup>, �</sup> _∗_
( _h_ <sup>�</sup> _∗_ <sup>(0), �</sup> _d∗_ <sup>(0)),</sup> _M_ <sup>�</sup> after _= M_ before, _M_ <sup>�</sup> before _=_ 0,
and two sets of hyperparameters _H_ <sup>�</sup> after _≡_ _H_ before
and _H_ <sup>�</sup> before _≡�_ ;
<u>end</u>
M. Peng, Z. Jiang, S. Li, _et al._, “A highly CO-tolerant atomically dispersed Pt catalyst for chemoselective hydrogenation,” _Nature nanotechnology_, vol. 14, no. 4, p. 354, 2019.
[10] J. Mao, W. Chen, D. He, J. Wan, J. Pei, J. Dong, Y. Wang,
P. An, Z. Jin, W. Xing, _et al._, “Design of ultrathin Pt-Mo-Ni
nanowire catalysts for ethanol electrooxidation,” _Science_
_advances_, vol. 3, no. 8, p. e1603068, 2017.
[11] A. Manceau, M. A. Marcus, and S. Grangeon, “Determi
nation of Mn valence states in mixed-valent manganates
by XANES spectroscopy,” _American_ _Mineralogist_, vol. 97,
pp. 816–827, 05 2012.
[12] A. Manceau, M. Marcus, and T. Lenoir, “Estimating the
number of pure chemical components in a mixture by Xray absorption spectroscopy,” _Journal of Synchrotron Ra-_
_diation_, vol. 21, pp. 1140–1147, Sep 2014.
[13] A. Dvoretzky, P. Erd˝os, and S. Kakutani, “Nonincrease ev
erywhere of the Brownian motion process,” in _Proc._ _4th_
_Berkeley Sympos. Math. Statist. and Prob., Vol. II_, pp. 103–
116, Univ. California Press, Berkeley, Calif., 1961.
[14] J. Li, S. Ghoshal, W. Liang, M.-T. Sougrati, F. Jaouen,
B. Halevi, S. McKinney, G. McCool, C. Ma, X. Yuan, Z.-F.
Ma, S. Mukerjee, and Q. Jia, “Structural and mechanistic
basis for the high activity of Fe–N–C catalysts toward oxygen reduction,” _Energy Environ. Sci._, vol. 9, pp. 2418–2432,
2016.
[15] B. Ravel and M. Newville, “ATHENA, ARTEMIS, HEPHAES
TUS: data analysis for X-ray absorption spectroscopy using IFEFFIT,” _Journal_ _of_ _synchrotron_ _radiation_, vol. 12,
no. 4, pp. 537–541, 2005.
[16] J. Timoshenko, D. Lu, Y. Lin, and A. I. Frenkel, “Su
pervised machine-learning-based determination of threedimensional structure of metallic nanoparticles,” _The_
_Journal_ _of_ _Physical_ _Chemistry_ _Letters_, vol. 8, no. 20,
pp. 5091–5098, 2017. PMID: 28960990.
[17] C. Zheng, K. Mathew, C. Chen, Y. Chen, H. Tang, A. Dozier,
J. J. Kas, F. D. Vila, J. J. Rehr, L. F. Piper, _et al._, “Automated
generation and ensemble-learned matching of X-ray absorption spectra,” _npj_ _Computational_ _Materials_, vol. 4,
no. 1, p. 12, 2018.
[18] I. Miyazato, L. Takahashi, and K. Takahashi, “Automatic
oxidation threshold recognition of XAFS data using supervised machine learning,” _Molecular Systems Design & En-_
_gineering_, 2019.
[19] S. Mallat, _A_ _wavelet_ _tour_ _of_ _signal_ _processing_ . Elsevier/Academic Press, Amsterdam, third ed., 2009. The
sparse way, With contributions from Gabriel Peyré.
[20] T. Hastie, R. Tibshirani, and J. Friedman, _The_ _elements_ _of_
_statistical learning_ . Springer Series in Statistics, Springer,
New York, second ed., 2009. Data mining, inference, and
prediction.
[21] The idea is based on a construction by Riesz, in what be
came known as the Rising Sun Lemma [34, Lemma 3.5],
developed with the intent of understanding the pointwise
behavior of continuous functions. In our case, we are interested in reducing the oscillation of the function in the
sense of Def. I.4, which is exactly what the Rising Sun operator does.
[22] B. Ravel and M. Newville, “ _ATHENA_, _ARTEMIS_, _HEPHAES-_
_TUS_ : data analysis for X-ray absorption spectroscopy using _IFEFFIT_,” _Journal_ _of_ _Synchrotron_ _Radiation_, vol. 12,
10
pp. 537–541, Jul 2005.
[23] This is similar to the role of dilation and translation pa
rameters in Wavelet theory with regards to resolution.
The analogy is limited to the role of parameters, and do
not extend beyond that because we are not doing timefrequency analysis [19, 35].
[24] R. Monteiro, I. Miyazato, and K. Takahashi, “Rising Sun
Envelope Method: git-hub.” `[https://github.com/](https://github.com/rafael-a-monteiro-math/Rising_Sun_Envelope_Method)`
```
rafael-a-monteiro-math/Rising_Sun_Envelope_
```
`[Method](https://github.com/rafael-a-monteiro-math/Rising_Sun_Envelope_Method)`, 2019.
[25] P. Larkin, _Infrared and Raman spectroscopy: principles and_
_spectral interpretation_ . Elsevier, 2017.
[26] P. Ewels, T. Sikora, V. Serin, C. P. Ewels, and L. Lajaunie,
“A complete overhaul of the electron energy-loss spectroscopy and x-ray absorption spectroscopy database:
eelsdb.eu,” _Microscopy and Microanalysis_, vol. 22, pp. 717–
724, 2 2016.
[27] B. Lafuente, R. T. Downs, H. Yang, and N. Stone, “The
power of databases: the rruff project,” in _Highlights_ _in_
_mineralogical crystallography_, pp. 1–29, Walter de Gruyter
GmbH, 2016.
[28] I. Goodfellow, Y. Bengio, and A. Courville, _Deep_ _learning_ .
MIT press, 2016.
[29] K. Mathew, C. Zheng, D. Winston, C. Chen, A. Dozier, J. J.
Rehr, S. P. Ong, and K. A. Persson, “High-throughput computational X-ray absorption spectroscopy,” _Scientific data_,
vol. 5, p. 180151, 2018.
[30] K. T. Butler, D. W. Davies, H. Cartwright, O. Isayev, and
A. Walsh, “Machine learning for molecular and materials
science,” _Nature_, vol. 559, no. 7715, p. 547, 2018.
[31] K. Takahashi and Y. Tanaka, “Materials informatics: a jour
ney towards material design and synthesis,” _Dalton Trans-_
_actions_, vol. 45, no. 26, pp. 10497–10499, 2016.
[32] “Hokkaido university catalysis reserch center xafs
database..” `[https://www.cat.hokudai.ac.jp/catdb/](https://www.cat.hokudai.ac.jp/catdb/index.php?action=xafs_dbinpbrowse&selection=2&r=86)`
```
index.php?action=xafs_dbinpbrowse&selection=
```
`[2&r=86](https://www.cat.hokudai.ac.jp/catdb/index.php?action=xafs_dbinpbrowse&selection=2&r=86)` . (Accessed on 09/12/2019).
[33] “Xas spectra library (beta).” `[http://cars.uchicago.](http://cars.uchicago.edu/xaslib/search)`
`[edu/xaslib/search](http://cars.uchicago.edu/xaslib/search)` . (Accessed on 09/12/2019).
[34] E. M. Stein and R. Shakarchi, _Real_ _analysis_, vol. 3 of
_Princeton Lectures in Analysis_ . Princeton University Press,
Princeton, NJ, 2005. Measure theory, integration, and
Hilbert spaces.
[35] I. Daubechies, _Ten_ _lectures_ _on_ _wavelets_, vol. 61 of _CBMS-_
_NSF_ _Regional_ _Conference_ _Series_ _in_ _Applied_ _Mathematics_ .
Society for Industrial and Applied Mathematics (SIAM),
Philadelphia, PA, 1992.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.