The invention discloses a digital
processing method and
system for Zeeman effect experiment data, and relates to the technical field of
atomic physics experiment
data processing, and the method comprises the following steps: S1, image reading and preprocessing: obtaining a Zeeman effect interference image, carrying out the self-adaptive zooming according to the image size, converting the Zeeman effect interference image into a gray image, and carrying out the self-adaptive zooming according to the image size; enhancing the
contrast ratio through self-
adaptive histogram equalization, and removing
salt and pepper noise by adopting 3 * 3 median filtering; s2, interference ring identification and measurement: carrying out
edge detection by adopting a
Sobel operator, detecting an interference ring in the image through
Hough transform, screening two maximum concentric circles closest to the center of the image, automatically calculating the
diameter of the ring, and converting the
diameter of the ring into a physical size; s3, key
physical quantity calculation: calculating a
wavenumber difference, substituting the
wavenumber difference into the optimized formula to calculate an
electron charge-to-
mass ratio, and performing error propagation analysis. Through automatic
image processing and a precise
algorithm, manual measurement errors are avoided, and the relative error of the
electron charge-to-
mass ratio can be reduced to 1.07% or below.