%0 Journal Article %T Data Analysis and Filter Optimization for Pulse-Amplitude Measurement: A Case Study on High-Resolution X-ray Spectroscopy. %A Mannatunga KS %A Valinoti B %A Florian Samayoa W %A Crespo ML %A Cicuttin A %A Folla Kamdem J %A Garcia LG %A Carrato S %J Sensors (Basel) %V 22 %N 13 %D Jun 2022 24 %M 35808271 %F 3.847 %R 10.3390/s22134776 %X In this study, we present a procedure to optimize a set of finite impulse response filter (FIR) coefficients for digital pulse-amplitude measurement. Such an optimized filter is designed using an adapted digital penalized least mean square (DPLMS) method. The effectiveness of the procedure is demonstrated using a dataset from a case study on high-resolution X-ray spectroscopy based on single-photon detection and energy measurements. The energy resolutions of the Kα and Kβ lines of the Manganese energy spectrum have been improved by approximately 20%, compared to the reference values obtained by fitting individual photon pulses with the corresponding mathematical model.