CN114076807B - Chromatogram abnormality processing method, storage medium and electronic device - Google Patents
Chromatogram abnormality processing method, storage medium and electronic device Download PDFInfo
- Publication number
- CN114076807B CN114076807B CN202210058078.3A CN202210058078A CN114076807B CN 114076807 B CN114076807 B CN 114076807B CN 202210058078 A CN202210058078 A CN 202210058078A CN 114076807 B CN114076807 B CN 114076807B
- Authority
- CN
- China
- Prior art keywords
- peak
- curve
- chromatogram
- virtual
- flat
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005856 abnormality Effects 0.000 title claims abstract description 48
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 241001270131 Agaricus moelleri Species 0.000 claims abstract description 138
- 238000000034 method Methods 0.000 claims abstract description 39
- 230000002159 abnormal effect Effects 0.000 claims abstract description 36
- 238000001228 spectrum Methods 0.000 claims abstract description 5
- 230000000875 corresponding effect Effects 0.000 claims description 96
- 238000004458 analytical method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 12
- 230000000630 rising effect Effects 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 9
- 230000002596 correlated effect Effects 0.000 claims description 2
- 230000008030 elimination Effects 0.000 claims description 2
- 238000003379 elimination reaction Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 17
- 230000008569 process Effects 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 5
- 238000000926 separation method Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004587 chromatography analysis Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N30/00—Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
- G01N30/02—Column chromatography
- G01N30/86—Signal analysis
- G01N30/8624—Detection of slopes or peaks; baseline correction
- G01N30/8627—Slopes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N30/00—Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
- G01N30/02—Column chromatography
- G01N30/86—Signal analysis
- G01N30/8624—Detection of slopes or peaks; baseline correction
- G01N30/8641—Baseline
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N30/00—Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
- G01N30/02—Column chromatography
- G01N30/86—Signal analysis
- G01N30/8651—Recording, data aquisition, archiving and storage
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N30/00—Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
- G01N30/02—Column chromatography
- G01N30/86—Signal analysis
- G01N30/8658—Optimising operation parameters
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Other Investigation Or Analysis Of Materials By Electrical Means (AREA)
Abstract
The application relates to a chromatogram abnormality processing method, a storage medium and an electronic device, relating to the technical field of chromatographs, wherein the method comprises the following steps: storing the first chromatogram obtained by detection in real time; a first color spectrum corresponding to user information in a chromatograph is called; counting the total number of air peaks, the total number of flat peaks or the total number of continuous peaks in the first chromatogram; the first chromatogram is processed according to the air peak height and the air peak width, according to the flat-top peak top width and the flat-top peak height difference, or according to the continuous peak width and the continuous region width. According to the method and the device, appropriate processing work is carried out based on the abnormal condition of the chromatogram so as to avoid the self error of the chromatograph or the use error of a user, and guarantee is provided for the reliability of the detection result of the chromatograph to a certain extent.
Description
Technical Field
The application relates to the technical field of chromatographs, in particular to a chromatogram abnormality processing method, a storage medium and an electronic device.
Background
The chromatograph detects the object to be detected to obtain a corresponding chromatogram, on one hand, the component is identified based on the position of the chromatographic peak of the chromatogram, and on the other hand, the component is quantitatively analyzed based on the area and height of the chromatographic peak.
With the daily use of the chromatograph, the detection result may be abnormal due to different use habits of different users and the long-term use of the chromatograph itself. However, at the present stage, the abnormal conditions of the detection results of the chromatograph cannot be counted conveniently, so that the detection errors caused by adverse effects cannot be made up.
Therefore, the above needs are met, and a chromatogram processing technique is now provided.
Disclosure of Invention
The application provides a chromatogram abnormality processing method, a storage medium and an electronic device, which are used for counting the detection condition of a chromatograph, and performing appropriate processing work based on the abnormal condition of the chromatogram so as to avoid the error of the chromatograph or the error of the user, and provide guarantee for the reliability of the detection result of the chromatograph to a certain extent.
In a first aspect, the present application provides a method for processing a chromatogram exception, the method comprising the following steps:
storing a first color spectrum obtained by detecting the chromatograph in real time, and marking corresponding user information;
responding to a user analysis instruction, and calling the first chromatographic chart corresponding to the user information in the chromatograph;
counting the total number of air peaks, the total number of flat peaks or the total number of continuous peaks in the first color spectrogram corresponding to the user information;
when the total number of the air peaks exceeds a preset first number threshold, generating an air peak eliminating instruction or an air peak abnormal marking instruction according to the height and the width of the air peaks in the first chromatogram;
when the total number of the flat peaks exceeds a preset second number threshold, generating a flat peak correction instruction or a flat peak abnormal marking instruction according to the top width and the height difference of the flat peaks in the first color spectrogram;
when the total number of the continuous peaks exceeds a preset third number threshold, generating a continuous peak correction instruction or a continuous peak abnormity marking instruction according to the width of the continuous peaks and the width of a continuous area in the first chromatogram;
and processing the corresponding first chromatogram based on the air peak eliminating instruction, the air peak abnormity marking instruction, the flat top peak correction instruction, the flat top peak abnormity marking instruction, the continuous peak correction instruction or the continuous peak abnormity marking instruction to obtain a processed first chromatogram.
Specifically, the step of generating an air peak eliminating instruction or an air peak abnormal marking instruction according to the air peak height and the air peak width in the first color spectrogram comprises the following steps:
identifying the chromatographic peak height in the first chromatographic chart to obtain a chromatographic peak height level value of the first chromatographic chart;
identifying the chromatographic peak bottom width in the first chromatographic chart to obtain a chromatographic peak bottom width horizontal value of the first chromatographic chart;
and when the ratio of the air peak height to the chromatographic peak height level value and the ratio of the air peak width to the chromatographic peak bottom width level value are both smaller than a first ratio threshold value, generating the air peak eliminating instruction, otherwise, generating the air peak abnormity marking instruction.
Specifically, the generating of the flat-top peak correction instruction or the flat-top peak abnormal marking instruction according to the flat-top peak width and the flat-top peak height difference in the first color spectrogram comprises the following steps:
identifying and obtaining the bottom width and the highest height of the flat peak;
when the ratio of the top width of the flat top peak to the bottom width of the flat top peak is smaller than a second ratio threshold, and the ratio of the height difference of the flat top peak to the maximum height of the flat top peak is smaller than a third ratio threshold, calculating to obtain a virtual top of the flat top peak based on the rising side slope of the flat top peak, the falling side slope of the flat top peak and the heights of two ends of the flat top peak, generating a flat top peak correction instruction based on the virtual top, otherwise generating a flat top peak abnormity marking instruction.
Specifically, the step of generating a continuous peak correction instruction or a continuous peak abnormality marking instruction according to the continuous peak width and the continuous region width in the first chromatogram includes the following steps:
when only 2 chromatographic peaks exist in a continuous peak, splitting the continuous peak into a first curve, an intermediate curve and a second curve based on the peaks and the troughs of the continuous peak, wherein the intermediate curve comprises the intermediate first curve and the intermediate second curve;
when the ratio of the width of the middle curve to the width of the continuous peak is larger than a fourth ratio threshold, obtaining a middle first virtual tilt rate and a middle second virtual tilt rate according to the middle first curve and the middle second curve, otherwise, generating a continuous peak abnormity marking instruction;
according to the middle first curve and the middle second curve, respectively obtaining a middle first virtual key point corresponding to the middle first curve and a middle second virtual key point corresponding to the middle second curve;
obtaining an intermediate first virtual peak-to-bottom point based on the intermediate first virtual tilt rate and the intermediate first virtual key point;
obtaining an intermediate second virtual peak-to-bottom point based on the intermediate second virtual tilt rate and the intermediate second virtual key point;
generating the continuous peak correction instruction based on the intermediate first virtual peak bottom point and the intermediate second virtual peak bottom point.
Specifically, in obtaining an intermediate first virtual tilt rate and an intermediate second virtual tilt rate according to the intermediate first curve and the intermediate second curve, the method includes the following steps:
identifying the change trend of the inclination rate of the middle first curve, and taking the average value of the inclination rates of the middle first curve or the inclination rate corresponding to the middle point of the middle first curve as the middle first virtual inclination rate;
and identifying the change trend of the inclination rate of the middle second curve, and taking the average value of the inclination rates of the middle second curves or the inclination rate corresponding to the middle point of the middle second curve as the middle second virtual inclination rate.
Specifically, according to the middle first curve and the middle second curve, a middle first virtual key point corresponding to the middle first curve and a middle second virtual key point corresponding to the middle second curve are respectively obtained, and the method includes the following steps:
taking a middle point of a middle first curve or a point of the average value of the inclination rates of the middle first curve on the middle first curve as a middle first virtual key point;
and taking the middle point of the middle second curve or the point of the average value of the inclination rates of the middle second curve on the middle second curve as the middle second virtual key point.
Further, the method comprises the following steps:
and constructing a database, and storing the first color spectrogram, the corresponding processed first color spectrogram, the user information and chromatograph identity information in the database in a correlated manner.
Further, the method comprises the following steps:
counting the ratio of the processed first color spectrogram corresponding to the user information in the chromatograph to the first color spectrogram, and adding an operation non-standard mark to the user information in the database when the ratio is greater than a preset first user ratio threshold;
and counting the ratio of the processed first color spectrogram corresponding to the chromatograph identity information to the first color spectrogram, and adding equipment to-be-detected marks to the chromatograph identity information in the database when the ratio is greater than a preset equipment first ratio threshold value.
In a second aspect, the present application provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the chromatogram exception handling method mentioned in the first aspect.
In a third aspect, the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements the chromatogram abnormality processing method mentioned in the first aspect when executing the computer program.
The beneficial effect that technical scheme that this application provided brought includes:
the method and the device for detecting the chromatographic instrument perform statistics on the detection condition of the chromatographic instrument, perform appropriate processing work based on the abnormal condition of the chromatogram so as to avoid self errors or user use errors of the chromatographic instrument, and provide guarantee for the reliability of the detection result of the chromatographic instrument to a certain extent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a chromatogram exception handling method provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a chromatogram exception handling method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a principle of processing a flat top peak in the chromatogram abnormality processing method provided in the embodiment of the present application;
fig. 4 is a schematic diagram illustrating a principle of processing consecutive peaks in the chromatogram abnormality processing method provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a chromatogram abnormality processing method, a storage medium and an electronic device, which are used for counting the detection condition of a chromatograph, and performing appropriate processing work based on the abnormal condition of the chromatogram so as to avoid the error of the chromatograph or the use error of a user, and guarantee the reliability of the detection result of the chromatograph to a certain extent.
In order to achieve the technical effects, the general idea of the application is as follows:
a chromatogram abnormality processing method comprises the following steps:
s1, storing a first chromatogram obtained by detection work of a chromatograph in real time by a preset chromatogram statistic module, and marking corresponding user information;
s2, the preset chromatogram calling module responds to the user analysis instruction and calls a first chromatogram corresponding to the user information in the chromatograph;
s3, a preset chromatogram counting module counts the total number of air peaks, the total number of flat top peaks or the total number of continuous peaks in a first chromatogram corresponding to the user information;
s4, when the total number of the air peaks exceeds a preset first number threshold, the chromatogram analysis module generates an air peak eliminating instruction or an air peak abnormal marking instruction according to the air peak height and the air peak width in the first chromatogram;
s5, when the total number of the flat top peaks exceeds a preset second number threshold, the chromatogram analysis module generates a flat top peak correction instruction or a flat top peak abnormal marking instruction according to the flat top peak width and the flat top peak height difference in the first chromatogram;
s6, when the total number of the continuous peaks exceeds a preset third number threshold, the chromatogram analysis module generates a continuous peak correction instruction or a continuous peak abnormal marking instruction according to the width of the continuous peaks and the width of the continuous areas in the first chromatogram;
and S7, the chromatogram processing module processes the corresponding first chromatogram based on the air peak eliminating instruction, the air peak abnormity marking instruction, the flat top correction instruction, the flat top abnormity marking instruction, the continuous peak correction instruction or the continuous peak abnormity marking instruction to obtain the processed first chromatogram.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In a first aspect, referring to fig. 1 to 4, an embodiment of the present application provides a chromatogram abnormality processing method, including the following steps:
s1, storing a first chromatogram obtained by detection work of a chromatograph in real time by a preset chromatogram statistic module, and marking corresponding user information;
s2, the preset chromatogram calling module responds to the user analysis instruction and calls a first chromatogram corresponding to the user information in the chromatograph;
s3, a preset chromatogram counting module counts the total number of air peaks, the total number of flat top peaks or the total number of continuous peaks in a first chromatogram corresponding to the user information;
s4, when the total number of the air peaks exceeds a preset first number threshold, the chromatogram analysis module generates an air peak eliminating instruction or an air peak abnormal marking instruction according to the air peak height and the air peak width in the first chromatogram;
s5, when the total number of the flat top peaks exceeds a preset second number threshold, the chromatogram analysis module generates a flat top peak correction instruction or a flat top peak abnormal marking instruction according to the flat top peak width and the flat top peak height difference in the first chromatogram;
s6, when the total number of the continuous peaks exceeds a preset third number threshold, the chromatogram analysis module generates a continuous peak correction instruction or a continuous peak abnormal marking instruction according to the width of the continuous peaks and the width of the continuous areas in the first chromatogram;
and S7, the chromatogram processing module processes the corresponding first chromatogram based on the air peak eliminating instruction, the air peak abnormity marking instruction, the flat top correction instruction, the flat top abnormity marking instruction, the continuous peak correction instruction or the continuous peak abnormity marking instruction to obtain the processed first chromatogram.
In the embodiment of the present application, the abnormal condition of the chromatogram refers to the appearance of an air peak, a continuous peak or a flat-top peak in the chromatogram.
In step S3, counting the total number of air peaks, the total number of flat peaks, or the total number of continuous peaks in the first color spectrum corresponding to the user information, specifically, counting the total number of air peaks, the total number of flat peaks, or the total number of continuous peaks in all first color spectrums obtained by performing chromatographic analysis using a corresponding chromatograph, where the counted number is used as a condition for triggering subsequent operations;
the processing objects of the air peak eliminating instruction, the air peak abnormity marking instruction, the flat top peak correcting instruction, the flat top peak abnormity marking instruction, the continuous peak correcting instruction or the continuous peak abnormity marking instruction are respectively corresponding to a first spectrogram,
of course, the air peak elimination instruction, the flat top peak correction instruction, and the continuous peak correction instruction may need to be executed for a certain first color spectrogram, and all the air peaks, the flat top peaks, and the continuous peaks thereof are processed, or the air peak abnormality marking instruction, the flat top peak abnormality marking instruction, and the continuous peak abnormality marking instruction may need to be executed for a certain first color spectrogram, and an air peak abnormality, a flat top peak abnormality, and a continuous peak abnormality are marked to exist at the same time.
In the embodiment of the present application, the implementation is as follows:
the method comprises the following steps that firstly, in the daily use process of a chromatograph, a chromatogram counting module records and stores a first chromatogram obtained by the detection work of the chromatograph in real time and marks corresponding user information;
the user information may be user identity information or data such as similar user codes and the like which can be used for representing the user identity;
if necessary, the first chromatogram can also mark the corresponding detection time.
And secondly, sending a user analysis instruction through external electronic equipment or other terminals, receiving and responding the user analysis instruction by a chromatogram calling module, and calling the first chromatogram corresponding to the user information in the chromatograph.
Thirdly, the chromatogram counting module counts the number of the first chromatogram according to the first chromatogram called by the chromatogram calling module, counts the total number of air peaks, the total number of flat top peaks or the total number of continuous peaks in the first chromatogram corresponding to the user information, wherein,
the air peak is a chromatographic peak formed when air enters a chromatograph, and generally appears before a first chromatographic peak obtained by detecting an object to be detected by the chromatograph;
the flat top peak refers to a chromatographic peak which is approximately a horizontal line or an approximately oblique straight line in a chromatogram;
if necessary, when the height difference of two ends of the chromatographic peak in the shape is smaller than the preset flat-top peak judgment height difference, the chromatographic peak is a flat-top peak;
by continuous peaks is meant that adjacent portions of at least two chromatographic peaks are brought together such that there are at least 2 peaks and 1 valley of the continuous peak;
the first quantity threshold, the second quantity threshold and the third quantity threshold are all preset quantity thresholds, when the total number of the air peaks exceeds the preset first quantity threshold, the number of the occurrence of the air peaks is excessive, the air peaks need to be correspondingly processed,
when the total number of the flat top peaks exceeds a preset second number threshold, the number of the flat top peaks is excessive, corresponding processing needs to be carried out on the flat top peaks,
when the total number of the continuous peaks exceeds a preset third number threshold, the number of the continuous peaks is too many, and the continuous peaks need to be correspondingly processed;
when the total number of air peaks does not exceed the preset first number threshold, the occurrence of air peaks may be due to random factors, temporarily without treatment,
when the total number of the flat peaks does not exceed the preset second number threshold, the condition indicating the occurrence of the flat peaks may be caused by random factors, temporarily without processing,
when the total number of the continuous peaks does not exceed the preset third number threshold, the situation of the continuous peaks is possibly caused by random factors and the continuous peaks do not need to be processed temporarily.
It should be noted that, when the second step and the third step are performed, i.e., when the specific operations of S2 and S3 are performed, the following operations may be performed for saving the operation:
when the chromatogram analysis statistical module is used in daily practice, after the first color spectrogram corresponding to the user information in the chromatograph is called, the total number of air peaks, the total number of flat-top peaks or the total number of continuous peaks in the first color spectrogram corresponding to the user information is counted by the chromatogram statistical module, the total number of air peaks, the total number of flat-top peaks or the total number of continuous peaks in the first color spectrogram obtained at this time is uniformly stored in preset chromatogram analysis statistical information, the chromatogram analysis statistical information is associated with the corresponding user analysis instruction, and corresponding analysis statistical time is marked;
when the user analysis instruction is received again, the chromatogram calling module responds to the user analysis instruction, and calls the first chromatogram corresponding to the user information in the chromatogram in the time period between the last user analysis instruction and the current user analysis instruction;
further, the chromatogram counting module counts the total number of air peaks, the total number of flat top peaks or the total number of continuous peaks in the first chromatogram corresponding to the user information in the chromatogram in a time period between the last user analysis instruction and the current user analysis instruction;
then, the chromatogram statistic module system combines the chromatogram analysis statistic information corresponding to the last user analysis instruction, and obtains the chromatogram analysis statistic information corresponding to the current user analysis instruction through statistics;
by the operation, the chromatogram calling module can be prevented from repeatedly calling all the first chromatograms corresponding to the user information in the chromatograph every time, the chromatogram counting module can be prevented from counting from the beginning every time, the working efficiency is improved to a certain extent, the workload of calling and calculating is saved, and the probability of errors is reduced.
And implementing the fourth step to the sixth step according to the specific situation of the total number of the air peaks, the total number of the flat top peaks or the total number of the continuous peaks obtained by the statistical analysis:
and in the fourth step, the air peak eliminating instruction is used for eliminating the air peak when being executed to obtain a corresponding processed first spectrogram, and the air peak abnormity marking instruction is used for marking in the corresponding first spectrogram to obtain a corresponding processed first spectrogram to mark the existence of the air peak abnormity.
And in the fifth step, the flat-top correction instruction is used for correcting the flat top to obtain a corresponding processed first color spectrogram when executed, and the flat-top abnormity marking instruction is used for marking in the corresponding first color spectrogram to obtain the corresponding processed first color spectrogram and mark the existence of the flat-top abnormity.
In the sixth step, the continuous peak correction instruction is executed to correct the continuous peaks and obtain the corresponding processed first color spectrogram, and the continuous peak abnormality marking instruction is executed to mark the corresponding first color spectrogram and obtain the corresponding processed first color spectrogram, so as to mark the continuous peak abnormality.
Seventhly, the chromatogram processing module processes the corresponding first chromatogram based on the air peak eliminating instruction, the air peak abnormality marking instruction, the flat top correction instruction, the flat top abnormality marking instruction, the continuous peak correction instruction or the continuous peak abnormality marking instruction to obtain a processed first chromatogram; wherein,
if the instruction is a correction instruction, correcting the chromatogram, wherein the obtained processed first chromatogram is the corrected chromatogram;
and if the instruction is an abnormal prompt instruction, adding an abnormal mark to the chromatogram, and obtaining a processed first chromatogram which is the abnormal marked first chromatogram.
When the total number of the air peaks exceeds a first number threshold, or the total number of the flat top peaks exceeds a second number threshold, or the total number of the continuous peaks exceeds a third number threshold, it is indicated that the corresponding air peak problem, the flat top peak problem or the continuous peak problem occurs more times, and the corresponding chromatogram needs to be processed;
in addition, if the total number of the air peaks does not exceed the first number threshold, the total number of the flat-top peaks does not exceed the second number threshold, and the total number of the continuous peaks exceeds the third number threshold, it indicates that the corresponding air peak problem, the flat-top peak problem, and the continuous peak problem occur less frequently, and may be considered to belong to a random error, and the first color spectrogram corresponding to the user information may not be processed.
According to the technical scheme, the detection condition of the chromatograph is counted, and appropriate processing work is carried out based on the abnormal condition of the chromatogram so as to avoid the self error or the user use error of the chromatograph, and guarantee is provided for the reliability of the detection result of the chromatograph to a certain extent.
Specifically, the step of generating an air peak eliminating instruction or an air peak abnormal marking instruction according to the air peak height and the air peak width in the first color spectrogram comprises the following steps:
identifying the chromatographic peak height in the first chromatographic chart to obtain a chromatographic peak height level value of the first chromatographic chart;
identifying the chromatographic peak bottom width in the first chromatographic chart to obtain a chromatographic peak bottom width horizontal value of the first chromatographic chart;
and when the ratio of the air peak height to the chromatographic peak height level value and the ratio of the air peak width to the chromatographic peak bottom width level value are both smaller than a first ratio threshold value, generating the air peak eliminating instruction.
Identifying the height of a chromatographic peak in the first chromatogram, specifically obtaining the height difference between each chromatographic peak in the first chromatogram and a base line, wherein the height difference is the height of the corresponding chromatographic peak, and further obtaining the chromatographic peak height level value of the first chromatogram;
identifying the width of the bottom of the chromatographic peak in the first chromatographic chart, specifically obtaining the width values of two intersection points of the bottom end of each chromatographic peak in the first chromatographic chart and the base line, thereby obtaining the corresponding width of the bottom of the chromatographic peak and further obtaining the horizontal value of the width of the bottom of the chromatographic peak of the first chromatographic chart;
the base line of the chromatogram is an approximately horizontal straight line near the abscissa at the bottom of the chromatogram.
It should be noted that this step is intended to identify the relative size of the air peak in the corresponding chromatogram,
if the ratio of the height of the air peak to the horizontal value of the height of the chromatographic peak and the ratio of the width of the air peak to the horizontal value of the width of the bottom of the chromatographic peak are both smaller than a first ratio threshold, the air peak is small and can be eliminated, and an air peak eliminating instruction is generated, namely the air peak can be eliminated based on the base line of the chromatogram;
otherwise, judging that the air peak cannot be eliminated, generating an abnormal prompt instruction corresponding to the air peak at the moment, namely an air peak abnormal marking instruction, adding an abnormal mark to the chromatogram in the later stage when the instruction is executed, specifically, the air peak abnormal mark, and obtaining a processed first chromatogram which is the first chromatogram after the abnormal mark;
it should be noted that the value of the first ratio threshold may be preset, or may be obtained by calculation in the prior art, and is intended to indicate that the air peak is smaller than a normal chromatographic peak when both the ratio of the air peak height to the chromatographic peak height level and the ratio of the air peak width to the chromatographic peak bottom width level are smaller than the first ratio threshold, which is a condition that the air peak can be eliminated.
Specifically, the generating of the flat-top peak correction instruction or the flat-top peak abnormal marking instruction according to the flat-top peak width and the flat-top peak height difference in the first color spectrogram comprises the following steps:
identifying and obtaining the bottom width and the highest height of the flat peak;
when the ratio of the top width of the flat top peak to the bottom width of the flat top peak is smaller than a preset second ratio threshold, and the ratio of the height difference of the flat top peak to the highest height of the flat top peak is smaller than a preset third ratio threshold, calculating to obtain a virtual top of the flat top peak based on the ascending side slope of the flat top peak, the descending side slope of the flat top peak and the heights of two ends of the flat top peak;
and generating a flat-top peak correction instruction based on the virtual peak top.
The top of the flat top peak is an approximately horizontal or stable oblique line, and when the ratio of the top width of the flat top peak to the bottom width of the flat top peak is smaller than a second ratio threshold value, the top width of the flat top peak is smaller than the bottom width of the flat top peak, so that the flat top peak is not an obvious 'wide trapezoid', but is similar to a relatively narrow trapezoid in view of the figure;
when the ratio of the height difference of the flat top peak to the highest height of the flat top peak is smaller than a third ratio threshold, the top of the flat top peak is judged to be relatively stable and has small change, and the flat top peak is judged to be a relatively narrow trapezoid in the front, so that correction can be performed, the correction reliability is improved, and the correction error is avoided;
further, based on the trend of the slope of the rising side of the flat top, the average value of the slope of the rising side of the flat top is obtained and recorded as the average slope of the rising side of the flat top,
obtaining the average value of the slope of the falling side of the flat top peak based on the variation trend of the slope of the falling side of the flat top peak, and recording the average value as the average slope of the falling side of the flat top peak;
then, based on the end points of the two ends of the flat-top peak, combining the corresponding average slope of the rising side of the flat-top peak and the average slope of the falling side of the flat-top peak to respectively obtain a virtual extension line of the rising side of the flat-top peak and a virtual extension line of the falling side of the flat-top peak, wherein the intersection point of the virtual extension line of the rising side of the flat-top peak and the virtual extension line of the falling side of the flat-top peak is the virtual peak top of the flat-top peak, and a flat-top peak correction instruction is generated based on the coordinates of the virtual peak top;
otherwise, judging that the flat peak cannot be corrected, generating an abnormality prompting instruction corresponding to the flat peak at the moment, namely a flat peak abnormality marking instruction, adding an abnormality mark to the chromatogram in the later period, specifically, the flat peak abnormality mark, and obtaining a processed first chromatogram which is an abnormality marked first chromatogram;
it should be noted that the value of the second ratio threshold may be preset or may be obtained by calculation in the prior art, and it is intended that when the ratio of the top width of the flat top to the bottom width of the flat top is smaller than the preset second ratio threshold, the shape of the flat top can be estimated from the aspect of width, i.e. the top width of the flat top is smaller than the bottom width of the flat top, so that the flat top is not a obvious "wide trapezoid" but a relatively narrow trapezoid as viewed in the figure,
the numerical value of the third ratio threshold may be preset or obtained by calculation in the prior art, and is intended to estimate the shape of the flat top from the top leveling angle when the ratio of the height difference of the flat top to the maximum height of the flat top is smaller than the preset third ratio threshold and the ratio of the height difference of the flat top to the maximum height of the flat top is smaller than the third ratio threshold, and then determine that the top of the flat top is relatively stable.
As shown in fig. 3 of the drawings of the specification, for convenience of illustration, it is assumed that the chromatogram has only one flat-top peak, and the specific conditions are as follows:
b and C are end points at two ends of the flat peak;
a and D are the lowest points at two ends of the flat peak respectively;
the inclination rates of the flat top peak at the two points B and C are greatly changed, and the inclination rates can also be used as one of the bases for positioning the end points at the two ends of the flat top peak;
the top width of the flat top peak is a numerical value of BC on an abscissa, and the bottom width of the flat top peak is a numerical value of AD on the abscissa;
the height difference of the flat top peaks is the height difference of the point B and the point C, and the highest height of the flat top peaks is the maximum value of the heights of the point B and the point C.
The dashed line 1 is a virtual extension line on the rising side of the flat top peak, and the slope of the virtual extension line is the average slope of the rising side of the flat top peak;
the dotted line 2 is a virtual extension line of the falling side of the flat peak, and the slope of the virtual extension line is the average slope of the falling side of the flat peak;
e is the intersection point of the virtual extension line at the ascending side of the flat peak and the virtual extension line at the descending side of the flat peak, namely the virtual peak top;
and based on the coordinates of B and C on the chromatogram, matching with the average slope of the rising side of the flat-top peak and the average slope of the falling side of the flat-top peak, and calculating to obtain the coordinate of E, namely the coordinate of the top of the virtual peak.
Specifically, the step of generating a continuous peak correction instruction or a continuous peak abnormality marking instruction according to the continuous peak width and the continuous region width in the first chromatogram includes the following steps:
when only 2 chromatographic peaks exist in a continuous peak, splitting the continuous peak into a first curve, an intermediate curve and a second curve based on the peaks and the troughs of the continuous peak, wherein the intermediate curve comprises the intermediate first curve and the intermediate second curve;
when the ratio of the width of the middle curve to the width of the continuous peak is larger than a preset fourth ratio threshold, obtaining a middle first virtual tilt rate and a middle second virtual tilt rate according to the middle first curve and the middle second curve;
according to the middle first curve and the middle second curve, respectively obtaining a middle first virtual key point corresponding to the middle first curve and a middle second virtual key point corresponding to the middle second curve;
obtaining an intermediate first virtual peak-to-bottom point based on the intermediate first virtual tilt rate and the intermediate first virtual key point;
obtaining an intermediate second virtual peak-to-bottom point based on the intermediate second virtual tilt rate and the intermediate second virtual key point;
generating a continuous peak correction instruction based on the intermediate first virtual peak bottom point and the intermediate second virtual peak bottom point.
Note that the continuous region width is the width of the intermediate curve, i.e., the numerical difference on the abscissa between both ends of the intermediate curve.
As shown in fig. 4 of the drawings of the specification, for convenience of illustration, it is assumed that the chromatogram has only one continuous peak, and the specific conditions are as follows:
the AB section is a first curve, the BD section is a middle curve, the DE section is a second curve, the BC section is a middle first curve, and the DE section is a middle second curve;
the continuous area width, i.e. the width of the middle curve, is the numerical difference of the BD segment on the abscissa in fig. 4;
the width of the continuous peaks is the numerical difference on the abscissa of the AE segment in fig. 4.
F is a middle first virtual key point, G is a middle second virtual peak bottom point, H is the middle first virtual peak bottom point, and I is the middle second virtual peak bottom point.
Specifically, in fig. 4 of the specification, a dashed line AE section is a virtual baseline obtained by extending a baseline,
obtaining an intermediate first virtual extension line based on the intermediate first virtual tilt rate and the intermediate first virtual key point, obtaining an intermediate first virtual peak-bottom point through an intersection of the intermediate first virtual extension line and the virtual base line, and obtaining a coordinate of the intermediate first virtual peak-bottom point based on the coordinate of the intermediate first virtual key point;
obtaining an intermediate second virtual extension line based on the intermediate second virtual tilt rate and the intermediate second virtual key point, obtaining an intermediate second virtual peak-bottom point through an intersection of the intermediate second virtual extension line and the virtual base line, and obtaining a coordinate of the intermediate second virtual peak-bottom point based on the coordinate of the intermediate second virtual key point;
in fig. 4, a dotted line 3 is an intermediate first virtual extension line, and a dotted line 4 is an intermediate second virtual extension line.
In addition, when at least 3 chromatographic peaks exist in the continuous peak, or when only 2 chromatographic peaks exist in the continuous peak and the ratio of the width of the middle curve to the width of the continuous peak is not greater than a fourth ratio threshold, an abnormality prompting instruction for the continuous peak, namely a continuous peak abnormality marking instruction, is generated;
when the exception prompt instruction is executed, the exception is specifically marked on the first color spectrogram, and then the corresponding processed first color spectrogram, namely the exception marked first color spectrogram, is obtained.
First, since the process is directed to the case where only 2 chromatographic peaks exist in the continuous peak, the two chromatographic peaks are respectively labeled as a first chromatographic sub-peak and a second chromatographic sub-peak from left to right with reference to the direction of the coordinate system of the conventional chromatogram, the first curve is from the top of the first chromatographic sub-peak to the left bottom of the continuous peak, the second curve is from the top of the second chromatographic sub-peak to the right bottom of the continuous peak, the middle curve is from the top of the first chromatographic sub-peak to the top of the second chromatographic sub-peak,
the peak of the first chromatographic sub-peak to the lowest point of the middle trough is a middle first curve, and the peak of the middle lowest point of the trough to the second chromatographic sub-peak is a middle second curve.
Furthermore, when the ratio of the width of the middle curve to the width of the continuous peak is greater than a fourth ratio threshold, it indicates that the separation from the vertex of the first chromatographic sub-peak to the vertex of the second chromatographic sub-peak is relatively large, the overlapped part of the first chromatographic sub-peak and the second chromatographic sub-peak is relatively small, and a correctable space exists, otherwise, the ratio of the width of the middle curve to the width of the continuous peak is not greater than the fourth ratio threshold, it indicates that the distance from the vertex of the first chromatographic sub-peak to the vertex of the second chromatographic sub-peak is relatively short, and the overlapped part of the first chromatographic sub-peak and the second chromatographic sub-peak is relatively large, so that the correction is not easy, and an abnormal prompt needs to be performed.
And analyzing to obtain an intermediate first virtual tilt rate according to the change trend of the tilt rate of the intermediate first curve, and analyzing to obtain an intermediate second virtual tilt rate according to the change trend of the tilt rate of the intermediate second curve.
Then, drawing an intermediate first virtual extension line based on the intermediate first virtual tilt rate and the intermediate first virtual key point, and obtaining an intersection point of the intermediate first virtual extension line and a base line as an intermediate first virtual peak bottom point;
drawing an intermediate second virtual extension line based on the intermediate second virtual tilt rate and the intermediate second virtual key point, and obtaining an intersection point of the intermediate second virtual extension line and the base line as an intermediate second virtual peak bottom point.
Finally, generating a continuous peak correction instruction based on the middle first virtual peak bottom point and the middle second virtual peak bottom point and matching with the left bottom of the continuous peak, the right bottom of the continuous peak, the first chromatographic sub-peak top point and the second chromatographic sub-peak top point,
executing the continuous peak correction instruction can split the continuous peak into two chromatographic peaks, namely a first virtual chromatographic peak and a second virtual chromatographic peak.
It should be noted that the numerical value of the fourth ratio threshold may be preset, or may be obtained by calculation in the prior art, and is intended to determine the separation degree of the first chromatographic sub-peak and the second chromatographic sub-peak in the continuous peak to a certain extent after comparing the ratio of the middle curve width to the continuous peak width with the fourth ratio threshold;
when the ratio of the width of the middle curve to the width of the continuous peak is larger than a fourth ratio threshold, the separation from the vertex of the first chromatographic sub-peak to the vertex of the second chromatographic sub-peak is relatively large, the superposed part of the first chromatographic sub-peak and the second chromatographic sub-peak is relatively small, and a correctable space exists,
on the contrary, if the ratio of the width of the middle curve to the width of the continuous peak is not greater than the fourth ratio threshold, it indicates that the distance from the vertex of the first chromatographic sub-peak to the vertex of the second chromatographic sub-peak is relatively short, and the number of the overlapped parts of the first chromatographic sub-peak and the second chromatographic sub-peak is large, so that the correction is not easy and the abnormal reminding needs to be performed.
As shown in FIG. 4 of the drawings, the curve of the ABF segment belongs to a part of a first chromatographic sub-peak, and the curve of the GDE segment belongs to a part of a second chromatographic sub-peak.
It should be noted that the correction reliability can be further improved by refining and splitting the continuous peaks to improve the fineness of the curve processing.
Specifically, the method further includes a virtual tilt rate selection process, that is, an intermediate first virtual tilt rate and an intermediate second virtual tilt rate are obtained according to the intermediate first curve and the intermediate second curve, and the method includes the following steps:
identifying the change trend of the inclination rate of the middle first curve, and taking the average value of the inclination rates of the middle first curve or the inclination rate corresponding to the middle point of the middle first curve as the middle first virtual inclination rate;
and identifying the change trend of the inclination rate of the middle second curve, and taking the average value of the inclination rates of the middle second curves or the inclination rate corresponding to the middle point of the middle second curve as the middle second virtual inclination rate.
It should be noted that there are four cases in the above steps, specifically as follows:
a case a in which the average value of the tilt rates of the intermediate first curves is the intermediate first virtual tilt rate and the average value of the tilt rates of the intermediate second curves is the intermediate second virtual tilt rate;
in case B, the inclination rate corresponding to the middle point of the middle first curve on the middle first curve is taken as the middle first virtual inclination rate, and the inclination rate corresponding to the middle point of the middle second curve on the middle second curve is taken as the middle second virtual inclination rate;
in case C, the average value of the tilt rates of the intermediate first curves is used as the intermediate first virtual tilt rate, and the tilt rate corresponding to the intermediate point of the intermediate second curves on the intermediate second curves is used as the intermediate second virtual tilt rate;
in case D, on the intermediate first curve, a tilt rate corresponding to an intermediate point of the intermediate first curve is set as the intermediate first virtual tilt rate, and an average value of tilt rates of the intermediate second curve is set as the intermediate second virtual tilt rate;
and selecting from the four combinations A-D according to actual conditions.
Specifically, the method further includes a virtual key point selection process, and according to the intermediate first curve and the intermediate second curve, an intermediate first virtual key point corresponding to the intermediate first curve and an intermediate second virtual key point corresponding to the intermediate second curve are respectively obtained, and the method includes the following steps:
taking a middle point of a middle first curve or a point of the average value of the inclination rates of the middle first curve on the middle first curve as a middle first virtual key point;
and taking the middle point of the middle second curve or the point of the average value of the inclination rates of the middle second curve on the middle second curve as the middle second virtual key point.
It should be noted that there are four cases in the above steps, specifically as follows:
in case a, taking the middle point of the middle first curve as the middle first virtual key point, and taking the middle point of the middle second curve as the middle second virtual key point;
a case b in which a point of the average value of the tilt rates of the intermediate first curves on the intermediate first curves is taken as the intermediate first virtual key point, and a point of the average value of the tilt rates of the intermediate second curves on the intermediate second curves is taken as the intermediate second virtual key point;
taking the middle point of the middle first curve as the middle first virtual key point, and taking the point of the average value of the inclination rates of the middle second curves on the middle second curve as the middle second virtual key point;
in case d, a point of the average value of the tilt rates of the intermediate first curves on the intermediate first curves is set as the intermediate first virtual key point, and an intermediate second curve intermediate point is set as the intermediate second virtual key point.
The method comprises the steps of selecting an intermediate first virtual tilt rate and an intermediate second virtual tilt rate based on conditions A-D;
based on conditions a-b, the intermediate first virtual tilt rate and the intermediate second virtual tilt rate are selected.
Drawing an intermediate first virtual extension line based on the intermediate first virtual tilt rate and the intermediate first virtual key point, and obtaining an intersection point of the intermediate first virtual extension line and a base line as an intermediate first virtual peak-to-bottom point;
drawing an intermediate second virtual extension line based on the intermediate second virtual tilt rate and the intermediate second virtual key point, and obtaining an intersection point of the intermediate second virtual extension line and the base line as an intermediate second virtual peak bottom point;
therefore, if necessary, a first constraint condition may be added, that is, after the middle first virtual tilt rate, the middle first virtual key point, the middle second virtual tilt rate and the middle second virtual key point are selected, a corresponding middle first virtual extension line and a corresponding middle second virtual extension line are obtained, and the intersection point of the two virtual extension lines is coincident with or below the baseline;
and if the intersection points of the middle first virtual extension line and the middle second virtual extension line are both positioned above the base line for the arrangement combinations between the cases A-D and the cases a-D, generating an abnormal prompting instruction aiming at the continuous peaks, and marking the chromatogram map abnormal and being incapable of being corrected.
In addition, if the conditions A to D and the conditions a to D are arranged and combined, and various conditions exist, so that the intersection point of the middle first virtual extension line and the middle second virtual extension line is superposed with the base line or is positioned below the base line, the separation distance between the middle first virtual peak bottom point and the middle second virtual peak bottom point corresponding to different combination conditions is obtained and recorded as the virtual peak bottom point separation;
selecting the intermediate first virtual tilt rate, the intermediate first virtual key point, the intermediate second virtual tilt rate, and the intermediate second virtual key point, which maximize the virtual peak-to-bottom point interval, as an optimal selection, and generating a continuous peak correction instruction based on the intermediate first virtual peak-to-bottom point and the intermediate second virtual peak-to-bottom point calculated from the corresponding intermediate first virtual tilt rate, the intermediate first virtual key point, the intermediate second virtual tilt rate, and the intermediate second virtual key point.
Further, the chromatogram abnormality processing method further comprises the following steps:
and constructing a corresponding database by using a preset database module, and storing the first color spectrogram, the corresponding processed first color spectrogram, the user information and the chromatograph identity information in the database in an associated manner.
Further, the chromatogram abnormality processing method further comprises the following steps:
counting the ratio of the processed first color spectrogram corresponding to the user information in the chromatograph to the first color spectrogram by using a preset mark adding module, and adding an operation non-standard mark to the user information in the database when the ratio is greater than a preset user first ratio threshold value;
and counting the ratio of the processed first color spectrogram corresponding to the chromatograph identity information by using a preset mark adding module, and adding a mark to be detected of equipment to the chromatograph identity information in the database when the ratio is greater than a preset equipment first ratio threshold value.
It should be noted that, the numerical values of the user first ratio threshold and the device first ratio threshold may be preset, or may be obtained by calculation in the prior art, and it is intended that if the ratio of the processed first color spectrogram corresponding to the user information to the first color spectrogram is greater than the preset user first ratio threshold, it is indicated that the number of the first color spectrogram corresponding to the user information needs to be corrected or needs to be subjected to abnormal marking is large, and the ratio is large, which indicates that the user corresponding to the user information has an irregular operation condition;
if the ratio of the processed first color spectrogram corresponding to the chromatograph identity information to the first color spectrogram is greater than a preset first ratio threshold of the device, it is indicated that the first color spectrogram corresponding to the chromatograph identity information needs to be corrected or needs to be subjected to a large number of abnormal marks, and the ratio is large, which indicates that the chromatograph has a problem and may need to be detected or even maintained subsequently.
In a second aspect, the present application provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the chromatogram exception handling method mentioned in the first aspect.
In a third aspect, the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements the chromatogram abnormality processing method mentioned in the first aspect when executing the computer program.
It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present application and are presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A chromatogram abnormality processing method is characterized by comprising the following steps:
storing a first color spectrum obtained by detecting the chromatograph in real time, and marking corresponding user information;
responding to a user analysis instruction, and calling the first chromatographic chart corresponding to the user information in the chromatograph;
counting the total number of air peaks, the total number of flat peaks or the total number of continuous peaks in the first color spectrogram corresponding to the user information;
when the total number of the air peaks exceeds a preset first number threshold, generating an air peak eliminating instruction or an air peak abnormal marking instruction according to the height and the width of the air peaks in the first chromatogram;
when the total number of the flat peaks exceeds a preset second number threshold, generating a flat peak correction instruction or a flat peak abnormal marking instruction according to the top width and the height difference of the flat peaks in the first color spectrogram;
when the total number of the continuous peaks exceeds a preset third number threshold, generating a continuous peak correction instruction or a continuous peak abnormity marking instruction according to the width of the continuous peaks and the width of a continuous area in the first chromatogram;
processing the corresponding first chromatogram based on the air peak eliminating instruction, the air peak abnormality marking instruction, the flat peak correcting instruction, the flat peak abnormality marking instruction, the continuous peak correcting instruction or the continuous peak abnormality marking instruction to obtain a processed first chromatogram; wherein,
the air peak refers to a chromatographic peak formed by air entering a chromatograph, and appears before the first chromatographic peak obtained by the chromatograph detecting an object to be detected.
2. The method for processing chromatogram abnormality of claim 1, wherein generating an air peak elimination command or an air peak abnormality marking command based on the air peak height and the air peak width in the first chromatogram comprises the steps of:
identifying the chromatographic peak height in the first chromatographic chart to obtain a chromatographic peak height level value of the first chromatographic chart;
identifying the chromatographic peak bottom width in the first chromatographic chart to obtain a chromatographic peak bottom width horizontal value of the first chromatographic chart;
and when the ratio of the air peak height to the chromatographic peak height level value and the ratio of the air peak width to the chromatographic peak bottom width level value are both smaller than a first ratio threshold value, generating the air peak eliminating instruction, otherwise, generating the air peak abnormity marking instruction.
3. The chromatogram abnormality processing method according to claim 1, wherein the step of generating a flat-top correction command or a flat-top abnormality marking command based on the flat-top width and the flat-top height difference in the first chromatogram comprises the steps of:
identifying and obtaining the bottom width and the highest height of the flat peak;
when the ratio of the top width of the flat top peak to the bottom width of the flat top peak is smaller than a second ratio threshold, and the ratio of the height difference of the flat top peak to the maximum height of the flat top peak is smaller than a third ratio threshold, calculating to obtain a virtual top of the flat top peak based on the rising side slope of the flat top peak, the falling side slope of the flat top peak and the heights of two ends of the flat top peak, generating a flat top peak correction instruction based on the virtual top, otherwise generating a flat top peak abnormity marking instruction.
4. The chromatogram abnormality processing method according to claim 1, wherein the generation of the consecutive peak correction instruction or the consecutive peak abnormality marking instruction based on the consecutive peak width and the consecutive region width in the first chromatogram comprises the steps of:
when only 2 chromatographic peaks exist in a continuous peak, splitting the continuous peak into a first curve, an intermediate curve and a second curve based on the peaks and the troughs of the continuous peak, wherein the intermediate curve comprises the intermediate first curve and the intermediate second curve;
when the ratio of the width of the middle curve to the width of the continuous peak is larger than a fourth ratio threshold, obtaining a middle first virtual tilt rate and a middle second virtual tilt rate according to the middle first curve and the middle second curve, otherwise, generating a continuous peak abnormity marking instruction;
according to the middle first curve and the middle second curve, respectively obtaining a middle first virtual key point corresponding to the middle first curve and a middle second virtual key point corresponding to the middle second curve;
obtaining an intermediate first virtual peak-to-bottom point based on the intermediate first virtual tilt rate and the intermediate first virtual key point;
obtaining an intermediate second virtual peak-to-bottom point based on the intermediate second virtual tilt rate and the intermediate second virtual key point;
generating the continuous peak correction instruction based on the intermediate first virtual peak bottom point and the intermediate second virtual peak bottom point.
5. The chromatogram abnormality processing method according to claim 4, wherein an intermediate first virtual tilt rate and an intermediate second virtual tilt rate are obtained from the intermediate first curve and the intermediate second curve, the method comprising the steps of:
identifying the change trend of the inclination rate of the middle first curve, and taking the average value of the inclination rates of the middle first curve or the inclination rate corresponding to the middle point of the middle first curve as the middle first virtual inclination rate;
and identifying the change trend of the inclination rate of the middle second curve, and taking the average value of the inclination rates of the middle second curves or the inclination rate corresponding to the middle point of the middle second curve as the middle second virtual inclination rate.
6. The method for processing the chromatogram abnormality according to claim 4, wherein an intermediate first virtual key point corresponding to the intermediate first curve and an intermediate second virtual key point corresponding to the intermediate second curve are obtained according to the intermediate first curve and the intermediate second curve, respectively, and the method comprises the following steps:
taking a middle point of a middle first curve or a point of the average value of the inclination rates of the middle first curve on the middle first curve as a middle first virtual key point;
and taking the middle point of the middle second curve or the point of the average value of the inclination rates of the middle second curve on the middle second curve as the middle second virtual key point.
7. The chromatogram abnormality processing method according to any one of claims 1 to 6, characterized by further comprising the steps of:
and constructing a database, and storing the first color spectrogram, the corresponding processed first color spectrogram, the user information and chromatograph identity information in the database in a correlated manner.
8. The chromatogram abnormality processing method as set forth in claim 7, characterized by further comprising the steps of:
counting the ratio of the processed first color spectrogram corresponding to the user information in the chromatograph to the first color spectrogram, and adding an operation non-standard mark to the user information in the database when the ratio is greater than a preset first user ratio threshold;
and counting the ratio of the processed first color spectrogram corresponding to the chromatograph identity information to the first color spectrogram, and adding equipment to-be-detected marks to the chromatograph identity information in the database when the ratio is greater than a preset equipment first ratio threshold value.
9. A storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the method of any one of claims 1 to 8.
10. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210058078.3A CN114076807B (en) | 2022-01-19 | 2022-01-19 | Chromatogram abnormality processing method, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210058078.3A CN114076807B (en) | 2022-01-19 | 2022-01-19 | Chromatogram abnormality processing method, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114076807A CN114076807A (en) | 2022-02-22 |
CN114076807B true CN114076807B (en) | 2022-04-08 |
Family
ID=80284607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210058078.3A Active CN114076807B (en) | 2022-01-19 | 2022-01-19 | Chromatogram abnormality processing method, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114076807B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114218244B (en) * | 2022-02-23 | 2022-05-20 | 华谱科仪(北京)科技有限公司 | Online chromatograph database updating method, data identification method and device |
CN115201395B (en) * | 2022-09-16 | 2022-12-06 | 华谱科仪(北京)科技有限公司 | Chromatograph supervision method and device based on big data technology |
CN115856185B (en) * | 2023-02-28 | 2023-06-13 | 杭州泽天春来科技有限公司 | Processing method and system of analyzer and readable storage medium |
CN117630264B (en) * | 2024-01-26 | 2024-04-09 | 武汉怡特环保科技有限公司 | Analysis method and device for chromatography and mass spectrometry, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5804142A (en) * | 1990-09-21 | 1998-09-08 | Hitachi, Ltd. | Chromatograph system and method for maintaining system suitability thereof |
CN104126119A (en) * | 2012-01-16 | 2014-10-29 | 莱克公司 | Systems and methods to process data in chromatographic systems |
CN108169200A (en) * | 2016-12-07 | 2018-06-15 | 同方威视技术股份有限公司 | For calibrating the method for Raman spectrum detecting device |
CN110570395A (en) * | 2019-08-06 | 2019-12-13 | 西安电子科技大学 | Hyperspectral anomaly detection method based on spatial-spectral combined collaborative representation |
WO2021113977A1 (en) * | 2019-12-13 | 2021-06-17 | Etrace Medical Diagnostics Inc. | Anomaly detection and diagnosis in chromatography applications |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000171450A (en) * | 1998-12-02 | 2000-06-23 | Tosoh Corp | Chromatogram processor |
US9812306B2 (en) * | 2011-08-17 | 2017-11-07 | Smiths Detection Inc. | Shift correction for spectral analysis |
CN114730619A (en) * | 2019-09-04 | 2022-07-08 | 沃特世科技爱尔兰有限公司 | Anomaly-based verification techniques for analyzing information |
-
2022
- 2022-01-19 CN CN202210058078.3A patent/CN114076807B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5804142A (en) * | 1990-09-21 | 1998-09-08 | Hitachi, Ltd. | Chromatograph system and method for maintaining system suitability thereof |
CN104126119A (en) * | 2012-01-16 | 2014-10-29 | 莱克公司 | Systems and methods to process data in chromatographic systems |
CN108169200A (en) * | 2016-12-07 | 2018-06-15 | 同方威视技术股份有限公司 | For calibrating the method for Raman spectrum detecting device |
CN110570395A (en) * | 2019-08-06 | 2019-12-13 | 西安电子科技大学 | Hyperspectral anomaly detection method based on spatial-spectral combined collaborative representation |
WO2021113977A1 (en) * | 2019-12-13 | 2021-06-17 | Etrace Medical Diagnostics Inc. | Anomaly detection and diagnosis in chromatography applications |
Non-Patent Citations (1)
Title |
---|
Application of a Target-Guided Data Processing Approach in Saturated Peak Correction of GC×GC Analysis;Penghan Zhang 等;《Analytical Chemistry》;20220120;第1941-1948页 * |
Also Published As
Publication number | Publication date |
---|---|
CN114076807A (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114076807B (en) | Chromatogram abnormality processing method, storage medium and electronic device | |
CN114166981B (en) | Dynamic correction method for chromatograph aging, storage medium and electronic device | |
KR101909971B1 (en) | Fingerprint identification method and fingerprint identification device | |
CN115201395A (en) | Chromatograph supervision method and device based on big data technology | |
CN111078053B (en) | Touch data reporting method, device and storage medium | |
JP2002149221A (en) | Automatic quality control method and device for production line, and storage medium | |
US20180357509A1 (en) | Method for identification of characteristic points of a calibration pattern within a set of candidate points in an image of the calibration pattern | |
KR20200128015A (en) | Certificate recognition method and device, electronic device, computer-readable storage medium | |
CN111338796B (en) | Application memory optimization method and device, terminal equipment and readable storage medium | |
JP3574584B2 (en) | Front image processing apparatus and its program storage medium | |
CN112565422B (en) | Method, system and storage medium for identifying fault data of power internet of things | |
CN100492403C (en) | Character image line selecting method and device and character image identifying method and device | |
CN112132237B (en) | Pure pixel spectrum library establishing method and device | |
CN110321751B (en) | Steel ladle number identification method | |
US20220188992A1 (en) | Image processing apparatus, image processing method, and storage medium | |
CN109324716B (en) | Touch screen anti-interference method based on hill climbing algorithm, touch device and mobile terminal | |
CN112035003B (en) | Touch device and method for preventing mistaken touch | |
CN115880730B (en) | Fingerprint acquisition method, fingerprint acquisition system, fingerprint acquisition equipment and readable storage medium | |
CN111880721A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112529923A (en) | Control identification method and device | |
CN107967479B (en) | Character recognition method and system with stained bill | |
JP2987984B2 (en) | Chromatographic data processor | |
CN113504840B (en) | Touch data processing method and device and touch screen | |
CN118606157B (en) | Equipment data analysis system and method based on artificial intelligence | |
CN113297943B (en) | Equipment auxiliary control technology based on mixed reality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |