A Self-supervised Learning Method for Raman Spectroscopy based on Masked Autoencoders