Stellar spectrum classification method and device
By performing logical judgment and confidence processing on the stellar spectrum, combined with weighted averaging technology, the classification accuracy problems under noise interference and low-resolution spectral data in the existing technology are solved, and the high accuracy and stability classification of stellar spectrum is achieved. .
Patent Information
- Application Number
- CN202411026185.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The accuracy and stability of the existing stellar spectral classification methods are affected under noise interference and low-resolution spectral data, and it is impossible to effectively identify weak spectral lines, resulting in unstable classification accuracy.
By making logical judgments on the physical characteristics and observation data of the classified star spectrum, combining confidence processing and weighted averaging technology, the observation data is processed using preset category weights to determine the target category, avoiding noise interference and lack of confidence evaluation mechanisms.
Maintain a high level of accuracy under low-resolution spectral data with high noise, reduce errors, and ensure the stability and accuracy of the target category.
Smart Images

Figure CN118551314B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of astronomical technology, and more specifically to a star spectrum classification method and device. Background Art
[0002] In astronomical observations, the classification of stellar spectral data is an important step in understanding the properties and evolution of stars. Stellar spectra contain rich physical information, and through the analysis of spectra, we can obtain parameters such as the temperature, chemical composition, and surface gravity of stars.
[0003] In the related technology, spectral classification mainly relies on the spectral template matching algorithm, which compares the observed spectrum with a pre-defined standard spectral template. During the comparison process, the noise in the spectral data interferes with the accurate extraction of spectral features, resulting in an increase in the error in the matching results between the observed spectrum and the template spectrum, thereby reducing the matching accuracy. In addition, the algorithm cannot accurately identify weak spectral lines, which affects the stability of the matching results and leads to unstable classification accuracy. Summary of the invention
[0004] In view of the above problems, the present invention provides a stellar spectrum classification method, device, equipment, medium and program product.
[0005] According to a first aspect of the present invention, a stellar spectrum classification method is provided, comprising: determining physical characteristics and observation data of a stellar spectrum to be classified; performing logical judgment on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents an initial classification result of the stellar spectrum to be classified; based on the initial classification result, performing confidence processing on the observation data and preset stellar data to obtain the confidence of the stellar spectrum to be classified; according to the initial classification result and the confidence, performing weighted averaging processing on the observation data using preset category weights to obtain weight data, wherein the weight data includes multiple, the preset category weights include multiple, and the weight data and the preset category weights have a one-to-one correspondence; determining target weight data from multiple weight data; and using the preset category corresponding to the target weight data as the target category of the stellar spectrum to be classified.
[0006] According to an embodiment of the present invention, the physical characteristics include continuous spectrum information and spectral line information, wherein the spectral line information includes absorption line information; the observed data includes red end data, blue end data and wavelength information; a logical judgment is performed on the physical characteristics and the observed data to obtain a judgment result, including: determining a preset category spectrum; matching the stellar spectrum to be classified with the preset category spectrum to obtain a matching result, wherein the matching result represents the initial spectral type of the stellar spectrum to be classified; determining the flow signal-to-noise ratio information of the stellar spectrum to be classified according to the wavelength information; determining the celestial body information according to the continuous spectrum information and the spectral line information; when the celestial body information is non-quasar, determining the splicing state of the red end data and the blue end data; when the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative numbers, and / or when the splicing state represents a splicing abnormality, and / or when the flow signal-to-noise ratio information does not meet the first preset condition, assigning a value to the first category field information of the stellar spectrum to be classified to represent parameter information that cannot determine the spectral category; and using the matching result and the assigned first category field information as the judgment result.
[0007] According to an embodiment of the present invention, the absorption line information includes hydrogen ion absorption lines and oxygen ion absorption lines; a logical judgment is performed on the physical characteristics and the observation data to obtain a judgment result, including: determining the intensity ratio of the hydrogen ion absorption lines and the oxygen ion absorption lines; when the intensity ratio does not meet the second preset condition, assigning parameter information characterizing the active galactic nucleus to the second category field information of the spectrum of the stellar to be classified to obtain the second category field information after the first assignment; and using the second category field information after the first assignment as the judgment result.
[0008] According to an embodiment of the present invention, a logical judgment is performed on physical characteristics and observation data to obtain a judgment result, which also includes: when the intensity ratio meets the second preset condition, assigning parameter information characterizing star formation to the second category field information of the spectrum of the stellar to be classified, to obtain the second category field information after the second assignment; determining the equivalent width of the hydrogen ion absorption line; when the equivalent width meets the third preset condition, updating the second category field information after the second assignment to parameter information characterizing the starburst, to obtain the updated second category field information; using the updated second category field information as the judgment result; when the equivalent width does not meet the third preset condition, using the second category field information after the second assignment as the judgment result.
[0009] According to an embodiment of the present invention, based on the initial classification result, the observed data and the preset star data are confidence processed to obtain the confidence of the star spectrum to be classified, including: determining the red-end flow information corresponding to the red-end data and the blue-end flow information corresponding to the blue-end data; determining the preset flow information corresponding to the matching result; performing residual processing on the red-end flow information and the blue-end flow information with the preset flow information respectively to obtain red-end difference data corresponding to the red-end flow information and blue-end difference data corresponding to the blue-end flow information; performing confidence calculation processing on the red-end difference data and the blue-end difference data to obtain the confidence of the star spectrum to be classified.
[0010] According to an embodiment of the present invention, confidence processing is performed on the red-end difference data and the blue-end difference data to obtain the confidence of the stellar spectrum to be classified, including: performing Gaussian fitting on the red-end difference data and the blue-end difference data respectively to obtain red-end fitting parameters and blue-end fitting parameters; based on the spectral weight, confidence processing is performed on the red-end fitting parameters and the blue-end fitting parameters to obtain the confidence of the stellar spectrum to be classified.
[0011] According to an embodiment of the present invention, based on the initial classification result and the confidence, the observation data is weighted averaged using preset category weights to obtain weighted data, including: based on the initial classification result, determining the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data; when the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data do not represent that the spectral category cannot be determined, performing the following operations: when the confidence of the stellar spectrum to be classified meets the preset confidence, determining the red end distance value between the red-end data and the preset category spectrum; determining the blue end distance value between the blue-end data and the preset category spectrum; based on the preset category weights, performing weighted average processing on the red end distance value and the blue end distance value to obtain weighted data.
[0012] According to an embodiment of the present invention, based on the initial classification result and confidence, the observation data is weighted averaged using preset category weights to obtain weight data, which also includes: when the first category field information corresponding to the red-end data or the first category field information corresponding to the blue-end data does not represent the spectral category that cannot be determined, in the red-end data and the blue-end data, the target observation data corresponding to the target first category field information that does not represent the spectral category that cannot be determined is determined; wherein the preset category corresponding to the target weight data is used as the target category of the stellar spectrum to be classified, including: using the preset category corresponding to the target observation data as the target category of the stellar spectrum to be classified.
[0013] According to an embodiment of the present invention, determining target weight data from a plurality of weight data includes: selecting weight data with the smallest value as the target weight data from the plurality of weight data.
[0014] The second aspect of the present invention provides a stellar spectrum classification device, including: a first determination module, used to determine the physical characteristics and observation data of the stellar spectrum to be classified; a first acquisition module, used to perform logical judgment on the physical characteristics and observation data to obtain a judgment result, wherein the judgment result represents the initial classification result of the stellar spectrum to be classified; a second acquisition module, used to perform confidence processing on the observation data based on the initial classification result to obtain the confidence of the stellar spectrum to be classified; a third acquisition module, used to perform weighted averaging processing on the observation data based on the initial classification result and the confidence using preset category weights to obtain weight data, wherein the weight data includes multiple, the preset category weights include multiple, and the weight data and the preset category weights have a one-to-one correspondence; a second determination module, used to determine target weight data from multiple weight data; and as a module, used to use the preset category corresponding to the target weight data as the target category of the stellar spectrum to be classified.
[0015] A third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0016] The fourth aspect of the present invention further provides a computer-readable storage medium on which a computer program or instruction is stored, and the steps of the above method are implemented when the above computer program or instruction is executed by a processor.
[0017] The fifth aspect of the present invention also provides a computer program product, including a computer program or instructions, which implement the steps of the above method when executed by a processor.
[0018] According to an embodiment of the present invention, a logical judgment is made on the physical characteristics and observation data of the star spectrum to be classified to obtain an initial classification result, and the confidence of the star spectrum to be classified is processed based on the initial classification result; the observation data is weighted averaged according to the initial classification result and the confidence, and the weight data is obtained; and the target category of the star spectrum to be classified is determined based on the weight data. Since the physical characteristics and observation data of the star spectrum to be classified are logically judged, the problem that the template matching algorithm is easily affected by noise is avoided, and the technical effect of maintaining a high level of accuracy in the face of low-resolution spectral data with large noise is achieved. At the same time, since the technical means of weighted average processing of the star spectrum to be classified based on the initial classification result and the confidence is used, the problem of lack of an effective confidence evaluation mechanism in the matching result and the error caused by the low confidence matching result is avoided, and the observation data of the star spectrum to be classified is fully evaluated, the error is effectively reduced, and the target category is more stable and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0020] Figure 1 An application scenario diagram of a star spectrum classification method, device, equipment, medium, and program product according to an embodiment of the present invention is shown;
[0021] Figure 2 A flow chart of a star spectrum classification method according to an embodiment of the present invention is shown;
[0022] Figure 3 A schematic diagram of the process of a star spectrum classification method according to an embodiment of the present invention is shown;
[0023] Figure 4 A structural block diagram of a stellar spectrum classification device according to an embodiment of the present invention is shown;
[0024] Figure 5 A block diagram of an electronic device suitable for implementing a star spectrum classification method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] An embodiment of the present invention provides a stellar spectrum classification method, which determines the physical characteristics and observation data of a stellar spectrum to be classified; performs logical judgment on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents an initial classification result of the stellar spectrum to be classified; based on the initial classification result, performs confidence processing on the observation data and preset stellar data to obtain the confidence of the stellar spectrum to be classified; according to the initial classification result and the confidence, performs weighted averaging processing on the observation data using preset category weights to obtain weight data, wherein the weight data includes multiple, the preset category weights include multiple, and the weight data and the preset category weights have a one-to-one correspondence; determines target weight data from multiple weight data; and uses the preset category corresponding to the target weight data as the target category of the stellar spectrum to be classified.
[0030] Figure 1 An application scenario diagram of a stellar spectrum classification method, apparatus, device, medium, and program product according to an embodiment of the present invention is shown.
[0031] like Figure 1As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0032] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0033] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0034] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0035] It should be noted that the star spectrum classification method provided in the embodiment of the present invention can generally be executed by the server 105. Accordingly, the star spectrum classification device provided in the embodiment of the present invention can generally be set in the server 105. The star spectrum classification method provided in the embodiment of the present invention can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the star spectrum classification device provided in the embodiment of the present invention can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0036] It should be understood that Figure 1The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0037] Figure 2 A flow chart of a stellar spectrum classification method according to an embodiment of the present invention is shown.
[0038] like Figure 2 As shown, the stellar spectrum classification method of this embodiment includes operations S210 to S260.
[0039] In operation S210, physical characteristics and observation data of the spectrum of the star to be classified are determined.
[0040] According to an embodiment of the present invention, a large sky area multi-object fiber optic spectroscopic telescope collects thousands of celestial bodies, and uses the spectral data corresponding to each celestial body as the stellar spectrum to be classified.
[0041] According to an embodiment of the present invention, the physical characteristics of the stellar spectrum to be classified may be the chemical composition and formation process corresponding to the stellar spectrum to be classified, wherein the chemical composition corresponding to the stellar spectrum to be classified may be the ion content in the spectral absorption line, and the formation process corresponding to the stellar spectrum to be classified may include STARFORMING (star formation), STARBURST (star burst) and AGN (active galactic nucleus, Active Galactic Nucleus), etc.
[0042] According to an embodiment of the present invention, the two ends of the spectrum of the star to be classified are the red end and the blue end, respectively, wherein the spectral data corresponding to the red end and the spectral data corresponding to the blue end can be observation data of the spectrum of the star to be classified.
[0043] In operation S220, a logical judgment is performed on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents an initial classification result of the spectrum of the star to be classified.
[0044] According to an embodiment of the present invention, the logic judgment can be based on the spectrum template matching algorithm, and a new logic judgment can be introduced. The new logic judgment can be based on the preset conditions to analyze and judge the physical characteristics and observation data of the star spectrum to be classified, and determine the initial classification result of the star spectrum to be classified according to the analysis and judgment result. Due to the introduction of the new logic judgment, the problem that the spectrum template matching algorithm is easily affected by noise is avoided, and the accuracy of noise filtering and feature extraction is achieved.
[0045] According to an embodiment of the present invention, the spectral template matching algorithm can be to classify the spectral types of the stellar spectra to be classified, wherein the spectral types include main sequence stars (O-type, B-type, A-type, F-type, G-type, K-type and M-type) and special types of stars (such as white dwarfs, cataclysmic variables, carbon stars, etc.), and each spectral type corresponds to a different stellar surface temperature and color.
[0046] According to an embodiment of the present invention, a spectral template matching algorithm is used to perform preliminary classification matching on the stellar spectra to be classified, and an identifier of the stellar spectra to be classified is assigned based on a logical judgment rule, and the preliminary classification matching result and the assigned identifier are used together as the initial classification result of the stellar spectra to be classified.
[0047] In operation S230, based on the initial classification result, the observed data is processed for confidence to obtain the confidence of the spectrum of the star to be classified.
[0048] According to an embodiment of the present invention, the confidence processing may include difference calculation processing and Gaussian fitting processing, which are used to verify the credibility of the preliminary classification matching of the stellar spectra to be classified using the spectral template matching algorithm, that is, the confidence of the stellar spectra to be classified.
[0049] In operation S240, based on the initial classification result and confidence, the observation data is weighted averaged using preset category weights to obtain weight data, wherein the weight data includes multiple, the preset category weights include multiple, and the weight data and the preset category weights have a one-to-one correspondence.
[0050] According to an embodiment of the present invention, the preset category weights may be the red-end data weights and the blue-end data weights corresponding to each spectrum type.
[0051] According to an embodiment of the present invention, weighted average processing is performed on the red-end data weight and the blue-end data weight corresponding to each spectral type using the observed data to obtain weighted data corresponding to each spectral type.
[0052] According to an embodiment of the present invention, weighted average processing is performed on the red end data and the blue end data of the stellar spectrum to be classified, and information at both ends is comprehensively considered, so that the classification result of the stellar spectrum to be classified is more stable and accurate.
[0053] In operation S250, target weight data is determined from among the plurality of weight data.
[0054] According to an embodiment of the present invention, weight data with the smallest value is determined from a plurality of weight data, and the weight data with the smallest value is used as the target weight data.
[0055] In operation S260, a preset category corresponding to the target weight data is used as a target category of the stellar spectrum to be classified.
[0056] According to an embodiment of the present invention, a preset category weight corresponding to the target weight data is determined, and a preset category corresponding to the preset category weight, ie, a spectrum type, is used as a target category of the stellar spectrum to be classified.
[0057] According to an embodiment of the present invention, a logical judgment is made on the physical characteristics and observation data of the star spectrum to be classified to obtain an initial classification result, and the confidence of the star spectrum to be classified is processed based on the initial classification result. The observation data and the preset star data are processed by weighted average according to the initial classification result and the confidence to obtain the weight data; the target category of the star spectrum to be classified is determined based on the weight data. Since the physical characteristics and observation data of the star spectrum to be classified are logically judged, the problem that the template matching algorithm is easily affected by noise is avoided, and the technical effect of maintaining a high level of accuracy in the face of low-resolution spectral data with large noise is achieved. At the same time, since the technical means of weighted average processing of the star spectrum to be classified based on the initial classification result and the confidence is used, the problem of lack of an effective confidence evaluation mechanism in the matching result and the error caused by the low confidence matching result is avoided, and the observation data of the star spectrum to be classified is fully evaluated, the error is effectively reduced, and the target category is more stable and accurate.
[0058] According to an embodiment of the present invention, the physical characteristics include continuous spectrum information and spectral line information, wherein the spectral line information includes absorption line information; the observed data includes red end data, blue end data and wavelength information; logical judgment is performed on the physical characteristics and the observed data to obtain a judgment result, including: performing logical judgment on the physical characteristics and the observed data to obtain a judgment result, including: determining a preset category spectrum; matching the spectrum of the star to be classified with the preset category spectrum to obtain a matching result, the matching result representing the initial spectrum type of the star spectrum to be classified; determining the flow signal-to-noise ratio information of the star spectrum to be classified according to the wavelength information; determining the celestial body information according to the continuous spectrum information and the spectral line information; when the celestial body information is non-quasar, determining the splicing state of the red end data and the blue end data; when the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative numbers, and / or when the splicing state represents a splicing abnormality, and / or when the flow signal-to-noise ratio information does not meet the first preset condition, assigning a value to the first category field information of the star spectrum to be classified to represent parameter information that cannot determine the spectrum category; and using the matching result and the assigned first category field information as the judgment result.
[0059] According to an embodiment of the present invention, the first category field information may be a systematic classification of celestial bodies, wherein the systematic classification may be a classification obtained according to the physical properties, formation process, structure, and motion behavior of the celestial bodies.
[0060] According to an embodiment of the present invention, the spectral line information may be the chemical composition corresponding to the spectrum of the star to be classified.
[0061] According to an embodiment of the present invention, the continuous spectrum information may be the formation process corresponding to the spectrum of the star to be classified, etc.
[0062] According to an embodiment of the present invention, the two ends of the spectrum of the star to be classified are the red end and the blue end, respectively, wherein the spectral data corresponding to the red end is red end data, and the spectral data corresponding to the blue end is blue end data.
[0063] According to an embodiment of the present invention, the wavelength information may be five band information corresponding to the celestial body.
[0064] According to an embodiment of the present invention, the physical characteristics and observation data of the spectrum of the star to be classified may also include observation-related auxiliary parameter information such as signal-to-noise ratio.
[0065] According to an embodiment of the present invention, the signal-to-noise ratio information may be signal-to-noise ratio information obtained based on five bands of the celestial body, wherein the five bands are represented by letters g, r, i, z and y, respectively, and the band corresponding to each letter represents a specific filter and a corresponding photosensitivity range.
[0066] According to an embodiment of the present invention, the preset category spectrum may be a matching template corresponding to each spectrum type used in a spectrum type template matching algorithm.
[0067] According to an embodiment of the present invention, the stellar spectrum to be classified is classified and matched with the preset category spectrum, wherein the preset category spectrum is format converted to obtain the preset category spectrum in the form of a polynomial, and the coefficients of the polynomial are used as numerical information corresponding to the preset category spectrum.
[0068] According to an embodiment of the present invention, the numerical information corresponding to the spectral line information may be a flow value of the radiation energy of the celestial body within a specific wavelength or wavelength range.
[0069] According to an embodiment of the present invention, when the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative numbers, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0070] According to an embodiment of the present invention, the stellar spectrum to be classified further includes second category field information, which may be a celestial object type.
[0071] According to an embodiment of the present invention, a non-quasar is represented as a non-QSO (Quasi-Stellar Object).
[0072] According to an embodiment of the present invention, a preset algorithm is used to perform splicing detection on the red-end data and the blue-end data of the stellar spectrum to be classified. When the splicing check result is a splicing abnormality and the celestial body information corresponding to the second category field information is non-quasar, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0073] According to an embodiment of the present invention, the wavelength signal-to-noise ratios in five bands of the star spectrum to be classified are averaged respectively to obtain the average information of the wavelength signal-to-noise ratio information of the star spectrum to be classified corresponding to each band.
[0074] According to an embodiment of the present invention, based on a spectral template matching algorithm, a matching result between the spectrum of the star to be classified and the spectrum of a preset category is determined, that is, an initial spectrum type corresponding to the spectrum of the star to be classified.
[0075] According to an embodiment of the present invention, when the matching result of the stellar spectrum to be classified is not an M-type spectrum type and the mean information of the i-band is less than 5, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectrum category cannot be determined.
[0076] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is a quasar (QSO) and the second category field information is a star (star), the stellar spectrum to be classified is classified and matched again based on the spectral template matching algorithm. If no matching result can be obtained, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0077] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is a quasar (QSO) and the second category field information is not a star (star), the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0078] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is galaxy and the celestial body information corresponding to the second category field information is galaxy, if the mean information of the r band is less than 3, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0079] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is a galaxy and the celestial body information corresponding to the second category field information is not a galaxy, if the mean information of the r band is less than 10, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0080] According to an embodiment of the present invention, the observation data also includes redshift information, which is represented by the displacement of the spectrum of the star to be classified toward the red end.
[0081] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is a galaxy and the value corresponding to the redshift information is less than 0.5, if the mean information of the r band is less than 10, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0082] According to an embodiment of the present invention, when the celestial body information corresponding to the first category field information of the stellar spectrum to be classified is a galaxy and the value corresponding to the redshift information is less than 0.5, if the mean information of the g band is less than 5, the first category field information "class" of the stellar spectrum to be classified is assigned parameter information "unknown" indicating that the spectral category cannot be determined.
[0083] According to an embodiment of the present invention, the matching result of the above-mentioned spectrum of the star to be classified and the first category field information after the assignment are used as the judgment result.
[0084] According to an embodiment of the present invention, logical judgment is performed on physical characteristics and observation data to obtain a judgment result, which also includes performing the above-mentioned logical judgment operation on the red end data and the blue end data of the stellar spectrum to be classified, respectively, to obtain the matching result corresponding to the red end data and the first category field information after assignment, and the matching result corresponding to the blue end data and the first category field information after assignment, and use them together with the matching result of the stellar spectrum to be classified and the first category field information after assignment as the initial classification result.
[0085] According to the embodiment of the present invention, on the basis of the spectral template matching algorithm, several new logical criteria are introduced to effectively filter out the interference of noise on spectral data and the mutual influence between similar templates. Among them, for the low-resolution star spectrum to be classified, the above-mentioned logical judgment can perform characteristic line intensity judgment, spectral continuity judgment and multi-feature comprehensive judgment, etc., so that noise filtering and feature extraction are more accurate, so that in the matching process using the spectral template matching algorithm, the matching degree between the star spectrum to be classified and the preset category spectrum is significantly improved, thereby avoiding the influence of the single characteristic line matching error, achieving a significant reduction in the misclassification rate in the classification process, especially when facing low-resolution spectral data with large noise, and ensuring the accuracy of matching.
[0086] According to an embodiment of the present invention, the absorption line information includes hydrogen ion absorption lines and oxygen ion absorption lines; a logical judgment is performed on the physical characteristics and the observation data to obtain a judgment result, including: determining the intensity ratio of the hydrogen ion absorption lines and the oxygen ion absorption lines; when the intensity ratio does not meet the second preset condition, assigning parameter information characterizing the active galactic nucleus to the second category field information of the spectrum of the stellar to be classified to obtain the second category field information after the first assignment; and using the second category field information after the first assignment as the judgment result.
[0087] According to an embodiment of the present invention, a logical judgment is performed on physical characteristics and observation data to obtain a judgment result, which also includes: when the intensity ratio meets the second preset condition, assigning parameter information characterizing star formation to the second category field information of the spectrum of the stellar to be classified, to obtain the second category field information after the second assignment; determining the equivalent width of the hydrogen ion absorption line; when the equivalent width meets the third preset condition, updating the second category field information after the second assignment to parameter information characterizing the starburst, to obtain the updated second category field information; using the updated second category field information as the judgment result; when the equivalent width does not meet the third preset condition, using the second category field information after the second assignment as the judgment result.
[0088] According to an embodiment of the present invention, the second category field information may be a celestial object type.
[0089] According to an embodiment of the present invention, the intensity ratio of the hydrogen ion absorption line and the oxygen ion absorption line can be expressed as , is the oxygen ion absorption line, It is the hydrogen ion absorption line (wavelength is 486.13 nanometers).
[0090] According to an embodiment of the present invention, the absorption line information also includes nitrogen ion absorption lines. The second preset condition can be expressed as , is the nitrogen ion absorption line, It is the hydrogen ion absorption line (wavelength is 656.28 nanometers).
[0091] According to an embodiment of the present invention, if , that is, if the intensity ratio satisfies the second preset condition, the second category field information "objtype" of the stellar spectrum to be classified is assigned parameter information characterizing star formation (STARFORMING).
[0092] According to an embodiment of the present invention, if , further determined the equivalent width of the hydrogen ion absorption line (wavelength 656.28 nanometers) .
[0093] According to an embodiment of the present invention, when the equal value width satisfies the third preset condition, that is, In this case, the second category field information "objtype" of the stellar spectrum to be classified is updated with parameter information characterizing the starburst (STARBURST).
[0094] According to an embodiment of the present invention, if That is, if the intensity ratio does not satisfy the second preset condition, the second category field information "objtype" of the stellar spectrum to be classified is assigned parameter information representing the active galactic nucleus (AGN).
[0095] According to an embodiment of the present invention, based on the initial classification result, the observed data is confidence processed to obtain the confidence of the stellar spectrum to be classified, including: determining the red-end flow information corresponding to the red-end data and the blue-end flow information corresponding to the blue-end data; determining the preset flow information corresponding to the matching result; performing residual processing on the red-end flow information and the blue-end flow information and the preset flow information respectively to obtain red-end difference data corresponding to the red-end flow information and blue-end difference data corresponding to the blue-end flow information; according to the matching result, determining the spectral weight corresponding to the matching result; based on the spectral weight, performing confidence calculation processing on the red-end difference data and the blue-end difference data to obtain the confidence of the stellar spectrum to be classified.
[0096] According to an embodiment of the present invention, based on the matching result, the initial spectrum type of the star spectrum to be classified obtained based on the spectrum type template matching algorithm is determined, and the spectrum weight corresponding to the initial spectrum type is determined.
[0097] According to an embodiment of the present invention, based on a matching template corresponding to the spectral template matching algorithm, preset flow information corresponding to the initial spectral type is determined from the matching template, that is, a preset flow value of radiation energy within a specific wavelength or wavelength range corresponding to the initial spectral type.
[0098] According to an embodiment of the present invention, residual processing is performed on the red-end flow information and the blue-end flow information respectively with the preset flow information, and the difference between the red-end flow information and the preset flow value is used as the red-end difference data corresponding to the red-end flow information, and the difference between the blue-end flow information and the preset flow value is used as the blue-end difference data corresponding to the blue-end flow information.
[0099] According to an embodiment of the present invention, confidence calculation processing is performed based on the red end difference data and the blue end difference data obtained above to obtain the credibility of the matching result of the star spectrum to be classified, that is, the confidence of the star spectrum to be classified.
[0100] According to an embodiment of the present invention, by determining the confidence of the spectrum of the star to be classified, a quantitative standard is provided to evaluate the reliability of the classification matching result, thereby further improving the accuracy of the classification matching result.
[0101] According to an embodiment of the present invention, based on the spectral weight, confidence processing is performed on the red-end difference data and the blue-end difference data to obtain the confidence of the stellar spectrum to be classified, including: performing Gaussian fitting on the red-end difference data and the blue-end difference data respectively to obtain red-end fitting parameters and blue-end fitting parameters; based on the spectral weight, confidence processing is performed on the red-end fitting parameters and the blue-end fitting parameters to obtain the confidence of the stellar spectrum to be classified.
[0102] According to an embodiment of the present invention, a histogram is drawn for the red end difference data and the blue end difference data, and Gaussian fitting is performed to obtain the red end fitting parameters and blue end fitting parameters .
[0103] According to an embodiment of the present invention, the spectral weight can be determined from a weight coefficient table of a matching template corresponding to a spectral template matching algorithm. For example, the initial spectral type is type A, and the weight coefficient c corresponding to the type A spectral type is determined in the weight coefficient table to be 0.74, and 0.74 is used as the spectral weight corresponding to the initial spectral type.
[0104] Among them, the above weight coefficient table is shown in Table 1.
[0105]
[0106] According to an embodiment of the present invention, confidence processing is performed on the red end fitting parameter, the blue end fitting parameter and the spectral weight based on formula (1) to obtain the confidence of the spectrum of the star to be classified.
[0107] (1);
[0108] Among them, z is the confidence of the star spectrum to be classified, is the blue end fitting parameter, is the red end fitting parameter, c is the spectral weight.
[0109] According to the embodiment of the present invention, the weight coefficient of confidence processing is dynamically adjusted according to the spectrum type, so that the confidence calculation is more targeted and flexible, and can provide a more accurate matching confidence evaluation, thereby improving the reliability of classification.
[0110] According to an embodiment of the present invention, based on the initial classification result and the confidence, the observation data is weighted averaged using preset category weights to obtain weighted data, including: based on the initial classification result, determining the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data; when the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data do not represent that the spectral category cannot be determined, performing the following operations: when the confidence of the stellar spectrum to be classified meets the preset confidence, determining the red end distance value between the red-end data and the preset category spectrum; determining the blue end distance value between the blue-end data and the preset category spectrum; based on the preset category weights, performing weighted average processing on the red end distance value and the blue end distance value to obtain weighted data.
[0111] According to an embodiment of the present invention, if the confidence of the stellar spectrum to be classified obtained above does not meet the preset confidence, the first category field information assignment of the stellar spectrum to be classified in the initial classification result is updated to parameter information "unknown" indicating that the spectrum category cannot be determined.
[0112] According to an embodiment of the present invention, in the case of data with low confidence, a matching result whose confidence satisfies a preset confidence is preferred, thereby avoiding errors caused by low-confidence matching results.
[0113] According to an embodiment of the present invention, if the first category field information corresponding to the stellar spectrum to be classified and the red end data and the blue end data of the stellar spectrum to be classified in the initial classification result does not indicate that the spectral category cannot be determined, and the confidence meets the preset confidence, then the initial classification result of the stellar spectrum to be classified is corrected based on the red end data and the blue end data of the stellar spectrum to be classified, that is, the red end data and the blue end data are weighted averaged using the preset category weights to obtain weighted data.
[0114] According to an embodiment of the present invention, determining the distance value between the red end data and the red end of the preset category spectrum may be calculating the distance between the red end data and the red end of the preset category spectrum on a two-dimensional plane. , calculate the distance between the blue end data and the blue end of the preset category spectrum on the two-dimensional plane .
[0115] According to an embodiment of the present invention, the preset category weight may be a red end weight and a blue end weight of each spectrum type of the preset category spectrum, as shown in Table 2.
[0116]
[0117] According to an embodiment of the present invention, the red end distance value and the blue end distance value are weighted averaged with the red end weight and the blue end weight of each spectrum type to obtain weight data corresponding to each spectrum type.
[0118] According to an embodiment of the present invention, for special types of non-main sequence stars, preset category weights as shown in Table 3 may be used. The special types of non-main sequence stars include white dwarfs (WD), carbon stars (Carbon) and cataclysmic variables (CV).
[0119]
[0120] According to the embodiment of the present invention, logical matching and confidence calculation are performed on the red-end data and the blue-end data respectively, ensuring that the matching results at each end can be fully evaluated. In the case where the confidence of the red-end data and the blue-end data are inconsistent, the matching result at the end with higher confidence is selected to avoid the error caused by the low-confidence matching result, that is, the high-confidence red-end data and the blue-end data are weighted averaged, and the spectral data at both ends are comprehensively considered, so that the final classification result is more stable and accurate, effectively reducing the error in the merging process of the red-end data and the blue-end data, and greatly improving the classification accuracy.
[0121] According to an embodiment of the present invention, determining target weight data from a plurality of weight data includes: selecting weight data with the smallest value as the target weight data from the plurality of weight data.
[0122] According to an embodiment of the present invention, the weight data with the smallest value is determined from the multiple weight data obtained as described above, and is used as the target weight data.
[0123] According to an embodiment of the present invention, a preset category corresponding to the target weight data is used as a target category of the stellar spectrum to be classified, including: if the spectrum category corresponding to the minimum weight data is inconsistent with the matching result of the stellar spectrum to be classified in the initial classification result, then the matching result of the stellar spectrum to be classified is updated to the spectrum type corresponding to the target weight data.
[0124] According to an embodiment of the present invention, based on the initial classification result and confidence, the observation data is weighted averaged using preset category weights to obtain weight data, which also includes: when the first category field information corresponding to the red-end data or the first category field information corresponding to the blue-end data does not represent the spectral category that cannot be determined, in the red-end data and the blue-end data, the target observation data corresponding to the target first category field information that does not represent the spectral category that cannot be determined is determined; wherein the preset category corresponding to the target weight data is used as the target category of the stellar spectrum to be classified, including: using the preset category corresponding to the target observation data as the target category of the stellar spectrum to be classified.
[0125] According to an embodiment of the present invention, if the first category field information corresponding to the red-end data indicates that the spectral category cannot be determined, and the first category field information corresponding to the blue-end data does not indicate that the spectral category cannot be determined, the blue-end data is used as the target observation data, and the spectral category corresponding to the matching result corresponding to the blue-end data is used as the target category of the stellar spectrum to be classified.
[0126] According to an embodiment of the present invention, the first category field information corresponding to the red end data and the first category field information corresponding to the blue end data both indicate that the spectral category cannot be determined, and the target category of the stellar spectrum to be classified is output as the undetermined spectral category "unknown".
[0127] Figure 3 A schematic flow chart of a star spectrum classification method according to an embodiment of the present invention is shown.
[0128] like Figure 3As shown, in operation S301, a logical judgment is performed on the physical characteristics and observation data of the star spectrum to be classified. In operation S302, based on the above logical judgment, the matching result of the star spectrum to be classified and the first category field information after assignment, as well as the matching result and the first category field information corresponding to the red end data of the star spectrum to be classified, and the matching result and the first category field information corresponding to the blue end data of the star spectrum to be classified are determined. Then in operation S303, based on the above determined matching results, the confidence of the star spectrum to be classified is determined. In operation S304, it is determined whether the confidence meets the preset confidence. If not, operation S305 is executed to update the amplitude of the first category field information, and then operation S306 is executed. If the preset confidence is met, operation S306 is directly executed to determine whether the first category field information corresponding to the red end data and the first category field information corresponding to the blue end data do not represent that the spectrum category cannot be determined. If so, operation S307 is executed to perform weighted average processing on the observation data, that is, the red end data and the blue end data, based on the preset category weights to obtain multiple weighted data. In operation S308, target weight data is confirmed from a plurality of weight data, and the spectrum type corresponding to the target weight data is confirmed. In operation S309, the spectrum type corresponding to the above target weight data is determined as the target category of the star spectrum to be classified. If in operation S306, the first category field information corresponding to the red end data and the first category field information corresponding to the blue end data do not both represent the spectrum category that cannot be determined, then operation S310 is performed to determine whether there is one of the first category field information corresponding to the red end data and the first category field information corresponding to the blue end data that does not represent the spectrum category that cannot be determined. If so, operation S311 is performed to use the first category field information that does not represent the spectrum category that cannot be determined in the red end data and the blue end data as the target first category field information, and determine the target observation data corresponding to the target first category field information. Subsequently, in operation S309, the spectrum type corresponding to the target observation data is determined as the target category of the star spectrum to be classified. If operation S310 determines that it does not exist, operation S312 is performed to output the classification result representing the spectrum category that cannot be determined.
[0129] Based on the above-mentioned star spectrum classification method, the present invention also provides a star spectrum classification device. Figure 4 The device is described in detail.
[0130] Figure 4 A structural block diagram of a stellar spectrum classification device according to an embodiment of the present invention is shown.
[0131] like Figure 4As shown, the star spectrum classification device 400 of this embodiment includes a first determination module 410, a first obtaining module 420, a second obtaining module 430, a third obtaining module 440, a second determination module 450 and an acting module 460.
[0132] The first determination module 410 is used to determine the physical characteristics and observation data of the spectrum of the star to be classified. In one embodiment, the first determination module 410 can be used to perform the operation S210 described above, which will not be described in detail here.
[0133] The first obtaining module 420 is used to perform logical judgment on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents an initial classification result of the spectrum of the star to be classified. In one embodiment, the first obtaining module 420 can be used to perform the operation S220 described above, which will not be repeated here.
[0134] The second obtaining module 430 is used to perform confidence processing on the observed data based on the initial classification result to obtain the confidence of the star spectrum to be classified. In one embodiment, the second obtaining module 430 can be used to perform the operation S230 described above, which will not be repeated here.
[0135] The third obtaining module 440 is used to perform weighted averaging processing on the observation data according to the initial classification result and the confidence level using the preset category weights to obtain weight data, wherein the weight data includes multiple, the preset category weights include multiple, and the weight data and the preset category weights have a one-to-one correspondence. In one embodiment, the third obtaining module 440 can be used to perform the operation S240 described above, which will not be repeated here.
[0136] The second determination module 450 is used to determine target weight data from the plurality of weight data. In one embodiment, the second determination module 450 can be used to perform the operation S250 described above, which will not be described in detail herein.
[0137] As module 460, it is used to take the preset category corresponding to the target weight data as the target category of the star spectrum to be classified. In one embodiment, as module 460, it can be used to perform the operation S260 described above, which will not be repeated here.
[0138] According to an embodiment of the present invention, a logical judgment is made on the physical characteristics and observation data of the star spectrum to be classified to obtain an initial classification result, and the confidence of the star spectrum to be classified is processed based on the initial classification result. The observation data and the preset star data are processed by weighted average according to the initial classification result and the confidence to obtain the weight data; the target category of the star spectrum to be classified is determined based on the weight data. Since the physical characteristics and observation data of the star spectrum to be classified are logically judged, the problem that the template matching algorithm is easily affected by noise is avoided, and the technical effect of maintaining a high level of accuracy in the face of low-resolution spectral data with large noise is achieved. At the same time, since the technical means of weighted average processing of the star spectrum to be classified based on the initial classification result and the confidence is used, the problem of lack of an effective confidence evaluation mechanism in the matching result and the error caused by the low confidence matching result is avoided, and the observation data of the star spectrum to be classified is fully evaluated, the error is effectively reduced, and the target category is more stable and accurate.
[0139] According to an embodiment of the present invention, any multiple modules among the first determination module 410, the first obtaining module 420, the second obtaining module 430, the third obtaining module 440, the second determination module 450 and the module 460 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the first determination module 410, the first obtaining module 420, the second obtaining module 430, the third obtaining module 440, the second determination module 450 and the module 460 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a proper combination of any of them. Alternatively, at least one of the first determination module 410, the first obtaining module 420, the second obtaining module 430, the third obtaining module 440, the second determination module 450 and the as module 460 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be performed.
[0140] According to an embodiment of the present invention, the first obtaining module 420 includes a first determining submodule, a matching submodule, a second determining submodule, a third determining submodule, a fourth determining submodule, a first assigning submodule and a first acting submodule.
[0141] The first determination submodule is used to determine a preset category spectrum.
[0142] The matching submodule is used to match the spectrum of the star to be classified with the spectrum of the preset category to obtain a matching result, and the matching result represents the initial spectrum type of the spectrum of the star to be classified.
[0143] The second determination submodule is used to determine the flow signal-to-noise ratio information of the stellar spectrum to be classified according to the wavelength information.
[0144] The third determination submodule is used to determine the celestial body information according to the continuous spectrum information and the spectral line information.
[0145] The fourth determination submodule is used to determine the splicing status of the red end data and the blue end data when the celestial body information is not a quasar.
[0146] The first assignment submodule is used to assign a value to the first category field information of the stellar spectrum to be classified, indicating parameter information that cannot determine the spectral category when the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative, and / or when the splicing state indicates a splicing abnormality, and / or when the flow signal-to-noise ratio information does not meet the first preset condition.
[0147] The first is a submodule, which is used to use the matching result and the assigned first category field information as the judgment result.
[0148] According to an embodiment of the present invention, the first obtaining module 420 also includes a fifth determining submodule, a second assigning submodule, a second acting submodule, a third assigning submodule, a third acting submodule, a sixth determining submodule, an updating submodule and a second acting submodule.
[0149] The fifth determination submodule is used to determine the intensity ratio of the hydrogen ion absorption line and the oxygen ion absorption line.
[0150] The second assignment submodule is used to assign parameter information characterizing the active galactic nucleus to the second category field information of the stellar spectrum to be classified when the intensity ratio does not meet the second preset condition, so as to obtain the second category field information after the first assignment.
[0151] The second is a submodule, which is used to use the second category field information after the first assignment as the judgment result.
[0152] The third assignment submodule is used to assign parameter information representing star formation to the second category field information of the stellar spectrum to be classified when the intensity ratio meets the second preset condition, so as to obtain the second category field information after the second assignment.
[0153] The sixth determination submodule is used to determine the equivalent width of the hydrogen ion absorption line.
[0154] The updating submodule is used to update the second category field information after the second assignment to parameter information representing the starburst when the equal value width meets the third preset condition, so as to obtain the updated second category field information.
[0155] The fourth is a submodule, which is used to use the updated second category field information as the judgment result.
[0156] The third submodule is used to use the second category field information after the second assignment as the judgment result when the equal value width does not meet the third preset condition.
[0157] According to an embodiment of the present invention, the second obtaining module 430 includes a seventh determining submodule, an eighth determining submodule, a first processing submodule, a ninth determining submodule and a second processing submodule.
[0158] The seventh determination submodule is used to determine the red-end flow information corresponding to the red-end data and the blue-end flow information corresponding to the blue-end data.
[0159] The eighth determination submodule determines the preset flow information corresponding to the matching result.
[0160] The first processing submodule is used to perform residual processing on the red-end flow information and the blue-end flow information with the preset flow information, so as to obtain red-end difference data corresponding to the red-end flow information and blue-end difference data corresponding to the blue-end flow information.
[0161] The ninth determination submodule is used to determine the spectrum weight corresponding to the matching result according to the matching result.
[0162] The second processing submodule is used to perform confidence calculation processing on the red end difference data and the blue end difference data based on the spectral weight to obtain the confidence of the spectrum of the star to be classified.
[0163] According to an embodiment of the present invention, the second processing submodule includes a fitting unit and a first obtaining unit.
[0164] The fitting unit is used to perform Gaussian fitting on the red end difference data and the blue end difference data respectively to obtain the red end fitting parameters and the blue end fitting parameters.
[0165] The first obtaining unit is used to perform confidence processing on the red end fitting parameters and the blue end fitting parameters based on the spectral weight to obtain the confidence of the spectrum of the star to be classified.
[0166] According to an embodiment of the present invention, the third obtaining module 440 includes a tenth determining submodule, an eleventh determining submodule, a twelfth determining submodule and a third processing submodule.
[0167] The tenth determination submodule is used to determine the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data according to the initial classification result.
[0168] The eleventh determination submodule is used to determine the red end distance value between the red end data and the preset category spectrum when the confidence of the spectrum of the star to be classified meets the preset confidence.
[0169] The twelfth determination submodule is used to determine the blue end distance value between the blue end data and the preset category spectrum.
[0170] The third processing submodule is used to perform weighted average processing on the red end distance value and the blue end distance value based on the preset category weight to obtain weight data.
[0171] According to an embodiment of the present invention, the third obtaining module 440 further includes a thirteenth determining submodule and a fifth acting submodule.
[0172] The thirteenth determination submodule is used to determine, in the red-end data and the blue-end data, target observation data corresponding to the target first category field information that does not represent the target whose spectral category cannot be determined.
[0173] The fifth submodule is used to use the preset category corresponding to the target observation data as the target category of the stellar spectrum to be classified.
[0174] According to an embodiment of the present invention, the second determining module 450 includes a sixth submodule.
[0175] The sixth submodule is used to select the weight data with the smallest value as the target weight data among multiple weight data.
[0176] Figure 5 A block diagram of an electronic device suitable for implementing a star spectrum classification method according to an embodiment of the present invention is shown.
[0177] like Figure 5As shown, the electronic device 500 according to an embodiment of the present invention includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 to a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include an onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.
[0178] In RAM 503, various programs and data required for the operation of electronic device 500 are stored. Processor 501, ROM 502 and RAM 503 are connected to each other via bus 504. Processor 501 performs various operations of the method flow according to the embodiment of the present invention by executing the program in ROM 502 and / or RAM 503. It should be noted that the program can also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 can also perform various operations of the method flow according to the embodiment of the present invention by executing the program stored in the one or more memories.
[0179] According to an embodiment of the present invention, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to the bus 504. The electronic device 500 may further include one or more of the following components connected to the input / output (I / O) interface 505: an input portion 506 including a keyboard, a mouse, etc.; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 508 including a hard disk, etc.; and a communication portion 509 including a network interface card such as a LAN card, a modem, etc. The communication portion 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output (I / O) interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that the computer program read therefrom is installed into the storage portion 508 as needed.
[0180] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.
[0181] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 502 and / or RAM 503 described above and / or one or more memories other than ROM 502 and RAM 503.
[0182] The embodiment of the present invention also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the star spectrum classification method provided by the embodiment of the present invention.
[0183] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when it is executed by the processor 501. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0184] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 509, and / or installed from the removable medium 511. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0185] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the processor 501, the above functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0186] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0187] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0188] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.
[0189] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A method for classifying stellar spectra, It is characterized in that The method comprises: Determine the physical characteristics and observational data of the stellar spectra to be classified; Performing logical judgment on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents an initial classification result of the spectrum of the star to be classified; Based on the initial classification result, the observation data is processed for confidence to obtain the confidence of the spectrum of the star to be classified; According to the initial classification result and the confidence, the observation data is weighted averaged using preset category weights to obtain weight data, wherein the weight data includes a plurality of weights, the preset category weights include a plurality of weights, and the weight data and the preset category weights have a one-to-one correspondence; Determine target weight data from the plurality of weight data; Using a preset category corresponding to the target weight data as a target category of the star spectrum to be classified; Wherein, the physical characteristics include continuous spectrum information and spectrum line information, wherein the spectrum line information includes absorption line information; the observation data includes red end data, blue end data and wavelength information; Performing logical judgment on the physical characteristics and the observation data to obtain a judgment result includes: Determine the preset category spectrum; Matching the star spectrum to be classified with the preset category spectrum to obtain a matching result, wherein the matching result represents an initial spectrum type of the star spectrum to be classified; Determining flow signal-to-noise ratio information of the to-be-classified star spectrum according to the wavelength information; Determine celestial body information according to the continuous spectrum information and the spectral line information; In the case where the celestial body information is not a quasar, determining a splicing state of the red end data and the blue end data; When the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative numbers, and / or when the splicing state represents a splicing abnormality, and / or when the flow signal-to-noise ratio information does not meet the first preset condition, assigning a value to the first category field information of the spectrum of the star to be classified to represent parameter information that cannot determine the spectrum category; The matching result and the first category field information after the assignment are used as the judgment result.
2. The method according to claim 1, It is characterized in that The absorption line information includes hydrogen ion absorption lines and oxygen ion absorption lines; The performing logical judgment on the physical feature and the observation data to obtain a judgment result includes: determining an intensity ratio of the hydrogen ion absorption line to the oxygen ion absorption line; When the intensity ratio does not satisfy the second preset condition, assigning parameter information characterizing active galactic nuclei to the second category field information of the spectrum of the star to be classified, to obtain the second category field information after the first assignment; The second category field information after the first assignment is used as the judgment result.
3. The method according to claim 2, It is characterized in that The performing logical judgment on the physical feature and the observation data to obtain a judgment result further includes: When the intensity ratio satisfies a second preset condition, assigning parameter information representing star formation to the second category field information of the spectrum of the star to be classified, to obtain the second category field information after second assignment; determining the isowidth of the hydrogen ion absorption line; When the equal-value width satisfies a third preset condition, updating the second category field information after the second assignment to parameter information representing a starburst, to obtain updated second category field information; Using the updated second category field information as the judgment result; When the equal-value width does not satisfy the third preset condition, the second category field information after the second assignment is used as the judgment result.
4. The method according to claim 1, It is characterized in that The step of performing confidence processing on the observation data based on the initial classification result to obtain the confidence of the spectrum of the star to be classified includes: Determine red-end flow information corresponding to the red-end data and blue-end flow information corresponding to the blue-end data; Determining preset flow information corresponding to the matching result; Respectively performing residual processing on the red-end flow information and the blue-end flow information with the preset flow information to obtain red-end difference data corresponding to the red-end flow information and blue-end difference data corresponding to the blue-end flow information; According to the matching result, determining a spectral weight corresponding to the matching result; Based on the spectral weight, the confidence calculation process is performed on the red end difference data and the blue end difference data to obtain the confidence of the spectrum of the star to be classified.
5. The method according to claim 4, It is characterized in that The step of performing confidence calculation processing on the red end difference data and the blue end difference data based on the spectral weight to obtain the confidence of the spectrum of the star to be classified includes: Performing Gaussian fitting on the red end difference data and the blue end difference data respectively to obtain red end fitting parameters and blue end fitting parameters; Based on the spectral weight, confidence processing is performed on the red end fitting parameter and the blue end fitting parameter to obtain the confidence of the spectrum of the star to be classified.
6. The method according to claim 1, It is characterized in that The step of performing weighted averaging processing on the observation data according to the initial classification result and the confidence level using preset category weights to obtain weighted data includes: Determine, according to the initial classification result, the first category field information corresponding to the red-end data and the first category field information corresponding to the blue-end data; In the case that the first category field information corresponding to the red end data and the first category field information corresponding to the blue end data do not indicate that the spectrum category cannot be determined, the following operations are performed: When the confidence of the spectrum of the star to be classified meets the preset confidence, determining the red end distance value between the red end data and the spectrum of the preset category; Determine the blue end distance value between the blue end data and the preset category spectrum; Based on the preset category weights, the red end distance value and the blue end distance value are weighted averaged to obtain the weight data.
7. The method according to claim 6, It is characterized in that The step of performing weighted averaging processing on the observation data according to the initial classification result and the confidence level using preset category weights to obtain weighted data further includes: In the case where the first category field information corresponding to the red end data or the first category field information corresponding to the blue end data does not indicate that the spectrum category cannot be determined, Determine, in the red-end data and the blue-end data, target observation data corresponding to the target first category field information that does not represent the target whose spectral category cannot be determined; The step of taking the preset category corresponding to the target weight data as the target category of the star spectrum to be classified includes: The preset category corresponding to the target observation data is used as the target category of the star spectrum to be classified.
8. The method according to claim 1, It is characterized in that The step of determining target weight data from the plurality of weight data comprises: Among the multiple weight data, the weight data with the smallest value is selected as the target weight data.
9. A device for classifying stellar spectra, It is characterized in that The device comprises: A first determination module is used to determine the physical characteristics and observation data of the spectrum of the star to be classified; The first obtaining module is used to perform logical judgment on the physical characteristics and the observation data to obtain a judgment result, wherein the judgment result represents the initial classification result of the spectrum of the star to be classified, the physical characteristics include continuous spectrum information and spectral line information, wherein the spectral line information includes absorption line information; the observation data includes red end data, blue end data and wavelength information; The logical judgment of the physical characteristics and the observation data to obtain the judgment result includes: Determine the preset category spectrum; Matching the star spectrum to be classified with the preset category spectrum to obtain a matching result, wherein the matching result represents an initial spectrum type of the star spectrum to be classified; Determining flow signal-to-noise ratio information of the to-be-classified star spectrum according to the wavelength information; Determine celestial body information according to the continuous spectrum information and the spectral line information; In the case where the celestial body information is not a quasar, determining a splicing state of the red end data and the blue end data; When the numerical information corresponding to the preset category spectrum and the fitting parameters corresponding to the absorption line information are both negative numbers, and / or when the splicing state represents a splicing abnormality, and / or when the flow signal-to-noise ratio information does not meet the first preset condition, assigning a value to the first category field information of the spectrum of the star to be classified to represent parameter information that cannot determine the spectrum category; The matching result and the assigned first category field information are used as the judgment result; A second obtaining module is used to perform confidence processing on the observation data based on the initial classification result to obtain the confidence of the spectrum of the star to be classified; A third obtaining module is used to perform weighted averaging processing on the observation data according to the initial classification result and the confidence level using preset category weights to obtain weight data, wherein the weight data includes a plurality of weights, the preset category weights include a plurality of weights, and the weight data and the preset category weights have a one-to-one correspondence; A second determination module is used to determine target weight data from the plurality of weight data; and As a module, it is used to use the preset category corresponding to the target weight data as the target category of the star spectrum to be classified.
