<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">kaz29</journal-id><journal-title-group><journal-title xml:lang="ru">Вестник Казахстанско-Британского технического университета</journal-title><trans-title-group xml:lang="en"><trans-title>Herald of the Kazakh-British Technical University</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1998-6688</issn><issn pub-type="epub">2959-8109</issn><publisher><publisher-name>Казахстанско-Британский Технический Университет</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.55452/1998-6688-2026-23-3-461-472</article-id><article-id custom-type="elpub" pub-id-type="custom">kaz29-3206</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ФИЗИЧЕСКИЕ НАУКИ</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>PHYSICAL SCIENCES</subject></subj-group></article-categories><title-group><article-title>АВТОМАТИЧЕСКАЯ КАЛИБРОВКА ДЛИНЫ ВОЛНЫ АСТРОНОМИЧЕСКИХ СПЕКТРОВ С ИСПОЛЬЗОВАНИЕМ DTW–RANSAC СОПОСТАВЛЕНИЯ И ПРЕДВАРИТЕЛЬНОЙ ОБРАБОТКИ НА ОСНОВЕ CNN</article-title><trans-title-group xml:lang="en"><trans-title>AUTOMATED WAVELENGTH CALIBRATION OF ASTRONOMICAL SPECTRA WITH DTW-RANSAC MATCHING AND CNN-BASED PREPROCESSING</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-0738-7725</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Глущенко</surname><given-names>А.</given-names></name><name name-style="western" xml:lang="en"><surname>Gluchshenko</surname><given-names>A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Магистр</p><p>Алматы</p></bio><bio xml:lang="en"><p>MSc</p><p>Almaty</p></bio><email xlink:type="simple">gluchshenko@fai.kz</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-9878-0989</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Измайлова</surname><given-names>И.</given-names></name><name name-style="western" xml:lang="en"><surname>Izmailova</surname><given-names>I.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Магистр</p><p>Алматы</p></bio><bio xml:lang="en"><p>MSc</p><p>Almaty</p></bio><email xlink:type="simple">izmailova@fai.kz</email><xref ref-type="aff" rid="aff-2"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-9339-4990</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Умирбаева</surname><given-names>А.</given-names></name><name name-style="western" xml:lang="en"><surname>Umirbayeva</surname><given-names>A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Магистр</p><p>Алматы, Астана</p></bio><bio xml:lang="en"><p>MSc</p><p>Almaty, Astana</p></bio><email xlink:type="simple">umirbayeva@fai.kz</email><xref ref-type="aff" rid="aff-3"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-5937-4985</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Куватова</surname><given-names>Д.</given-names></name><name name-style="western" xml:lang="en"><surname>Kuvatova</surname><given-names>D.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Магистр</p><p>Алматы</p></bio><bio xml:lang="en"><p>MSc</p><p>Almaty</p></bio><email xlink:type="simple">kuvatova@fai.kz</email><xref ref-type="aff" rid="aff-4"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-5604-9757</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Юрин</surname><given-names>Д.</given-names></name><name name-style="western" xml:lang="en"><surname>Yurin</surname><given-names>D.</given-names></name></name-alternatives><bio xml:lang="ru"><p>PhD</p><p>Алматы</p></bio><bio xml:lang="en"><p>PhD</p><p>Almaty</p></bio><email xlink:type="simple">yurin@fai.kz</email><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Астрофизический институт им. В.Г. Фесенкова</institution><country>Казахстан</country></aff><aff xml:lang="en"><institution>Fesenkov Astrophysical Institute;&#13;
Farabi University</institution><country>Kazakhstan</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>Астрофизический институт им. В.Г. Фесенкова</institution><country>Казахстан</country></aff><aff xml:lang="en"><institution>Fesenkov Astrophysical Institute</institution><country>Kazakhstan</country></aff></aff-alternatives><aff-alternatives id="aff-3"><aff xml:lang="ru"><institution>Астрофизический институт им. В.Г. Фесенкова;&#13;
Назарбаев Университет</institution><country>Казахстан</country></aff><aff xml:lang="en"><institution>Fesenkov Astrophysical Institute;&#13;
 Nazarbayev University</institution><country>Kazakhstan</country></aff></aff-alternatives><aff-alternatives id="aff-4"><aff xml:lang="ru"><institution>Астрофизический институт им. В.Г. Фесенкова;&#13;
Казахский национальный университет им. аль-Фараби</institution><country>Казахстан</country></aff><aff xml:lang="en"><institution>Fesenkov Astrophysical Institute;&#13;
Farabi University</institution><country>Kazakhstan</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>27</day><month>09</month><year>2026</year></pub-date><volume>23</volume><issue>3</issue><fpage>461</fpage><lpage>472</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Глущенко А., Измайлова И., Умирбаева А., Куватова Д., Юрин Д., 2026</copyright-statement><copyright-year>2026</copyright-year><copyright-holder xml:lang="ru">Глущенко А., Измайлова И., Умирбаева А., Куватова Д., Юрин Д.</copyright-holder><copyright-holder xml:lang="en">Gluchshenko A., Izmailova I., Umirbayeva A., Kuvatova D., Yurin D.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://vestnik.kbtu.edu.kz/jour/article/view/3206">https://vestnik.kbtu.edu.kz/jour/article/view/3206</self-uri><abstract><p>В данной статье представлен автоматизированный алгоритм калибровки длины волны щелевых астрономических спектров, основанный на сочетании методов машинного обучения и надежных алгоритмов сопоставления. Предлагаемый подход включает в себя одномерную сверточную нейронную сеть (CNN) для автоматической идентификации спектрального диапазона, за которой следует первоначальное сопоставление пиков с использованием метода динамического временного сдвига (DTW) и последующее уточнение с помощью алгоритма консенсуса случайных выборок (RANSAC). Модель CNN обучена как на синтетических, так и на реальных спектральных данных и демонстрирует высокую точность классификации для различных дифракционных решеток. Метод DTW обеспечивает надежное начальное совмещение наблюдаемых и эталонных спектров даже при наличии нелинейных искажений и шума. Применение RANSAC дополнительно повышает точность калибровки за счет отсеивания некорректных соответствий пиков и оптимизации решения дисперсии. Метод был проверен на реальных данных наблюдений от калибровочных ламп и демонстрирует высокую устойчивость, эффективность и возможность полной автоматизации. По сравнению с традиционными ручными или полуавтоматическими подходами, предложенный конвейер значительно сокращает время обработки, сохраняя при этом высокую точность калибровки. Разработанное решение планируется развернуть в виде сервиса в инфраструктуре виртуальных обсерваторий и применять для обработки многочисленных спектральных данных.</p></abstract><trans-abstract xml:lang="en"><p>This paper presents an automated pipeline for wavelength calibration of slit-based astronomical spectra, combining robust peak-matching techniques with a lightweight preprocessing step. The method is based on initial peak alignment using Dynamic Time Warping (DTW), followed by refinement of the dispersion solution with the Random Sample Consensus (RANSAC) algorithm. To ensure consistency between observed and reference spectra, a compact one-dimensional convolutional neural network (CNN) is employed at the preprocessing stage to identify the spectral range and corresponding diffraction grating. This step enables the selection of an appropriate reference spectrum but does not directly affect the calibration procedure. The DTW-based approach provides reliable initial correspondences between spectral peaks under nonlinear distortions and noise, while RANSAC filtering removes incorrect matches and yields a robust polynomial dispersion solution. The method is validated on real observational data from calibration lamps and demonstrates stable performance, high matching accuracy, and full automation capability. Compared to traditional manual or semi-automatic approaches, the proposed pipeline significantly reduces processing time while maintaining calibration precision. The developed solution is planned to be deployed as a service in the virtual observatory infrastructure and is applicable for processing numerous spectral data.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>обработка астрономических данных</kwd><kwd>калибровка щелевых спектров</kwd><kwd>dynamic time warping</kwd><kwd>RANSAC</kwd><kwd>машинное обучение</kwd></kwd-group><kwd-group xml:lang="en"><kwd>astronomical data processing</kwd><kwd>slit-based spectral calibration</kwd><kwd>dynamic time warping</kwd><kwd>RANSAC</kwd><kwd>machine learning</kwd></kwd-group><funding-group><funding-statement xml:lang="en">This research received funding from the Committee of Science of the Ministry of Science and Higher Education of the Republic of Kazakhstan (Grant No. BR24992807 and Grant No. BR24992759)</funding-statement></funding-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Stoughton, C., et al. Sloan Digital Sky Survey: Early Data Release. The Astronomical Journal, 123 (1), 485–548 (2002). https://doi.org/10.1086/324741</mixed-citation><mixed-citation xml:lang="en">Stoughton, C., et al. Sloan Digital Sky Survey: Early Data Release. The Astronomical Journal, 123 (1), 485–548 (2002). https://doi.org/10.1086/324741</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Law, D.R., et al. The Data Reduction Pipeline for the SDSS-IV MaNGA IFU Survey. The Astronomical Journal, 152, 83 (2016). https://doi.org/10.3847/0004-6256/152/4/83</mixed-citation><mixed-citation xml:lang="en">Law, D.R., et al. The Data Reduction Pipeline for the SDSS-IV MaNGA IFU Survey. The Astronomical Journal, 152, 83 (2016). https://doi.org/10.3847/0004-6256/152/4/83</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Tody, D. The IRAF Data Reduction and Analysis System. Instrumentation in Astronomy VI, Proc. SPIE, 627, 733–748 (1986). https://doi.org/10.1117/12.968154</mixed-citation><mixed-citation xml:lang="en">Tody, D. The IRAF Data Reduction and Analysis System. Instrumentation in Astronomy VI, Proc. SPIE, 627, 733–748 (1986). https://doi.org/10.1117/12.968154</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Odewahn, S.C., et al. Automated Star/Galaxy Discrimination with Neural Networks. In: Digitised Optical Sky Surveys, 215–224 (1992). https://doi.org/10.1086/116063</mixed-citation><mixed-citation xml:lang="en">Odewahn, S.C., et al. Automated Star/Galaxy Discrimination with Neural Networks. In: Digitised Optical Sky Surveys, 215–224 (1992). https://doi.org/10.1086/116063</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Weir, N., et al. The SKICAT System for Processing and Analyzing Digital Imaging Sky Surveys. Publications of the Astronomical Society of the Pacific, 107 (718), 1243–1254 (1995). https://doi.org/10.1086/133683</mixed-citation><mixed-citation xml:lang="en">Weir, N., et al. The SKICAT System for Processing and Analyzing Digital Imaging Sky Surveys. Publications of the Astronomical Society of the Pacific, 107 (718), 1243–1254 (1995). https://doi.org/10.1086/133683</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Collister, A.A., and Lahav, O. ANNz: Estimating Photometric Redshifts Using Artificial Neural Networks. Publications of the Astronomical Society of the Pacific, 116 (818), 345–351 (2004). https://doi.org/10.1086/383254</mixed-citation><mixed-citation xml:lang="en">Collister, A.A., and Lahav, O. ANNz: Estimating Photometric Redshifts Using Artificial Neural Networks. Publications of the Astronomical Society of the Pacific, 116 (818), 345–351 (2004). https://doi.org/10.1086/383254</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Dieleman, S., Willett, K.W., and Dambre, J. Rotation-Invariant Convolutional Neural Networks for Galaxy Morphology Prediction. Monthly Notices of the Royal Astronomical Society, 450 (2), 1441–1459 (2015). https://doi.org/10.1093/mnras/stv632</mixed-citation><mixed-citation xml:lang="en">Dieleman, S., Willett, K.W., and Dambre, J. Rotation-Invariant Convolutional Neural Networks for Galaxy Morphology Prediction. Monthly Notices of the Royal Astronomical Society, 450 (2), 1441–1459 (2015). https://doi.org/10.1093/mnras/stv632</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Smith, M.J., and Geach, J.E. Astronomia ex Machina: A History, Primer and Outlook on Neural Networks in Astronomy. Royal Society Open Science, 10 (5) (2023). https://doi.org/10.1098/rsos.221454</mixed-citation><mixed-citation xml:lang="en">Smith, M.J., and Geach, J.E. Astronomia ex Machina: A History, Primer and Outlook on Neural Networks in Astronomy. Royal Society Open Science, 10 (5) (2023). https://doi.org/10.1098/rsos.221454</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Fabbro, S., et al. An Application of Deep Learning in the Analysis of Stellar Spectra. Monthly Notices of the Royal Astronomical Society, 475 (3), 2978–2993 (2018). https://doi.org/10.1093/mnras/stx3298</mixed-citation><mixed-citation xml:lang="en">Fabbro, S., et al. An Application of Deep Learning in the Analysis of Stellar Spectra. Monthly Notices of the Royal Astronomical Society, 475 (3), 2978–2993 (2018). https://doi.org/10.1093/mnras/stx3298</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Zhang, T., et al. Application of Machine Learning in Astronomical Spectral Data Mining. Astronomical Techniques and Instruments, 2 (2), 73–87 (2025). https://doi.org/10.61977/ati2024057</mixed-citation><mixed-citation xml:lang="en">Zhang, T., et al. Application of Machine Learning in Astronomical Spectral Data Mining. Astronomical Techniques and Instruments, 2 (2), 73–87 (2025). https://doi.org/10.61977/ati2024057</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Davenport, J.R.A., et al. Automated Spectroscopic Wavelength Calibration Using Dynamic Time Warping. https://doi.org/10.48550/arXiv.2508.05862</mixed-citation><mixed-citation xml:lang="en">Davenport, J.R.A., et al. Automated Spectroscopic Wavelength Calibration Using Dynamic Time Warping. https://doi.org/10.48550/arXiv.2508.05862</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">LeCun, Y., et al. Gradient-Based Learning Applied to Document Recognition. Proceedings of the IEEE, 86 (11), 2278–2324 (1998). https://doi.org/10.1109/5.726791</mixed-citation><mixed-citation xml:lang="en">LeCun, Y., et al. Gradient-Based Learning Applied to Document Recognition. Proceedings of the IEEE, 86 (11), 2278–2324 (1998). https://doi.org/10.1109/5.726791</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Sakoe, H., and Chiba, S. Dynamic Programming Algorithm Optimization for Spoken Word Recognition. IEEE Transactions on Acoustics, Speech, and Signal Processing, 26 (1), 43–49 (1978). https://doi.org/10.1109/TASSP.1978.1163055</mixed-citation><mixed-citation xml:lang="en">Sakoe, H., and Chiba, S. Dynamic Programming Algorithm Optimization for Spoken Word Recognition. IEEE Transactions on Acoustics, Speech, and Signal Processing, 26 (1), 43–49 (1978). https://doi.org/10.1109/TASSP.1978.1163055</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Fischler, M.A., and Bolles, R.C. Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography. Communications of the ACM, 24 (6), 381–395 (1981). https://doi.org/10.1145/358669.358692</mixed-citation><mixed-citation xml:lang="en">Fischler, M.A., and Bolles, R.C. Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography. Communications of the ACM, 24 (6), 381–395 (1981). https://doi.org/10.1145/358669.358692</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Nair, V., and Hinton, G.E. Rectified Linear Units Improve Restricted Boltzmann Machines. In: Proceedings of the 27th International Conference on Machine Learning, 807–814 (2010). http://www.icml2010.org/papers/432.pdf</mixed-citation><mixed-citation xml:lang="en">Nair, V., and Hinton, G.E. Rectified Linear Units Improve Restricted Boltzmann Machines. In: Proceedings of the 27th International Conference on Machine Learning, 807–814 (2010). http://www.icml2010.org/papers/432.pdf</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Rogowski, M., et al. mpi4py.futures: MPI-Based Asynchronous Task Execution for Python. IEEE Transactions on Parallel and Distributed Systems, 34 (2), 611–622 (2022). https://doi.org/10.1109/TPDS.2022.3225481</mixed-citation><mixed-citation xml:lang="en">Rogowski, M., et al. mpi4py.futures: MPI-Based Asynchronous Task Execution for Python. IEEE Transactions on Parallel and Distributed Systems, 34 (2), 611–622 (2022). https://doi.org/10.1109/TPDS.2022.3225481</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">Kingma, D.P., and Ba, J. Adam: A Method for Stochastic Optimization. (2015). https://doi.org/10.48550/arXiv.1412.6980</mixed-citation><mixed-citation xml:lang="en">Kingma, D.P., and Ba, J. Adam: A Method for Stochastic Optimization. (2015). https://doi.org/10.48550/arXiv.1412.6980</mixed-citation></citation-alternatives></ref><ref id="cit18"><label>18</label><citation-alternatives><mixed-citation xml:lang="ru">Srivastava, N., et al. Dropout: A Simple Way to Prevent Neural Networks from Overfitting. Journal of Machine Learning Research, 15 (1), 1929–1958 (2014). https://www.cs.toronto.edu/~hinton/absps/JMLRdropout.pdf</mixed-citation><mixed-citation xml:lang="en">Srivastava, N., et al. Dropout: A Simple Way to Prevent Neural Networks from Overfitting. Journal of Machine Learning Research, 15 (1), 1929–1958 (2014). https://www.cs.toronto.edu/~hinton/absps/JMLRdropout.pdf</mixed-citation></citation-alternatives></ref><ref id="cit19"><label>19</label><citation-alternatives><mixed-citation xml:lang="ru">Mirapeix, J., et al. In-Process Automatic Wavelength Calibration for CCD-Spectrometers. In: Optical Sensors 2008, Proc. SPIE, 7003, 70031T (2008). https://doi.org/10.1117/12.781040</mixed-citation><mixed-citation xml:lang="en">Mirapeix, J., et al. In-Process Automatic Wavelength Calibration for CCD-Spectrometers. In: Optical Sensors 2008, Proc. SPIE, 7003, 70031T (2008). https://doi.org/10.1117/12.781040</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
