The embodiment of the invention provides a spectrum
red shift measurement method, device and equipment and a medium, which can be applied to the fields of astronomical
information technology and high-
performance computing technology, and the method comprises the following steps: receiving N observation spectrum data to be measured; determining a
processing mode of the observed spectrum data; in response to the
processing mode being a first
processing mode, processing the observation
spectral data through a first calculation path, the first calculation path performing
red shift measurement calculation based on a first numerical calculation
library by matching the observation
spectral data with a set of template
spectral data to obtain a calculation result, the calculation result of the first numerical calculation
library is consistent with the calculation result of a reference
algorithm within a preset precision range; in response to the processing mode being a second processing mode, the observed spectral data is processed through a second computational path that reconstructs the
redshift measurement calculations into a
tensor parallel model based on a second
library of numerical calculations and performs on
parallel computing hardware, the second library of numerical calculations supporting
tensor calculations.