Summary of the invention
In follow-up continuous application, we have found that, when testing sample be alkalescence, testing sample sample size is excessive, need to change the situations such as chromatographic column, pipeline do not connect or dead volume is excessive occur time, utilize prior art to determine that spectral peak terminal time is long and spectral peak final position determines the problems such as to the rear determining that spectral peak terminal there will be.With reference to Fig. 2, test finds, when there is above-mentioned multiple situation, the hangover at peak can be the longest, when performing prior art step S104, needs the data that traversal is very many, just can find the second data point, so long time can be wasted, and easily spectral peak final position be determined to the rear.
It is an object of the invention to: solve, in prior art, for the longer peak that trails, to utilize the method for prior art to occur determining that spectral peak terminal time is long and spectral peak final position determines the technical problems such as to the rear, it is provided that a kind of spectral peak terminal method of adjustment.
The spectral peak terminal method of adjustment that the present invention provides, comprises the steps:
Step S301, determines spectral peak intermediate point;
Step S302, whether the slope value of the data point in data set after judging described spectral peak intermediate point successively there is reversion, if there is reversion, using first data point after last data point before reversion or reversion as spectral peak terminal;
Step S303, without reversion occur, in lookup group, the G-bar absolute value of data point is less than the first data set of predetermined slope threshold value, and selects any data o'clock in described first data set as the first data point;
Step S304, continue to search for N continuous the data set after described first data set, judge that slope reversion does not the most occur in the total data the point whether absolute value of the G-bar of described N continuous data set is respectively less than in predetermined slope threshold value, and described N continuous data set;
Step S305, if, then using last data set in described N continuous data set as the second data set, using last data point in described second data set as the second data point, and select data point that the amplitude between described first data point and described second data point is minimum as spectral peak terminal.
Limit and search N number of data set continuously, solve spectral peak final position and determine problem to the rear, save the time determining spectral peak terminal simultaneously.
Illustrate as one, also include step S306, if not, in group after then searching described first data set, the G-bar absolute value of data point is more than a data set of described predetermined slope threshold value, and using this data set as the second data set, select any data o'clock in described second data set as the second data point;Search all data points less than described predetermined slope threshold value of the slope absolute value between described first data point and described second data point, data point minimum for wherein amplitude is defined as spectral peak terminal.
Illustrate as one, in step s 304, if having the data point in one group of data set in described N continuous data set slope reversion occurs, using this group data set as the second data set, and using the data point of slope reversion in this data set as the second data point, and select data point minimum for the amplitude between the first data point and the second data point as spectral peak terminal.
Illustrating as one, N=(0.05*60*SR)/L, L=(PW*SR)/15, wherein SR is the sample rate of data, and PW is the peak width of spectral peak, and L is the number of data point in data set.
By above-mentioned equations N value so that spectral peak final position determines and searches for spectral peak terminal time and all reaches optimum.
Illustrating as one, described spectral peak intermediate point is spectral peak summit or spectral peak is turned right a little.
What the method judged first with slope threshold value determined spectral peak turns right a little, reapplies the method identification spectral peak terminal of the present invention, can improve recognition efficiency further.
Another object of the present invention is to: solve in prior art, for the longer peak that trails, the method utilizing prior art occurs determining that spectral peak terminal time is long and spectral peak final position determines the technical problems such as to the rear, it is provided that a kind of chromatographic work station with spectral peak terminal adjustment function.
The chromatographic work station with spectral peak terminal adjustment function disclosed by the invention, including:
Spectral peak intermediate point searches unit, is used for determining spectral peak intermediate point;
Slope value reversion detector unit, whether the slope value of the data point in data set after judging described spectral peak intermediate point successively there is reversion, if there is reversion, using first data point after last data point before reversion or reversion as spectral peak terminal;
First data point searches unit, and for without reversion occur, in lookup group, the G-bar absolute value of data point is less than the first data set of predetermined slope threshold value, and selects any data o'clock in described first data set as the first data point;
Search judging unit, for continuing to search for N continuous the data set after described first data set, judge that slope reversion does not the most occur in the total data the point whether absolute value of the G-bar of described N continuous data set is respectively less than in predetermined slope threshold value, and described N continuous data set;
First terminal point confirmation unit, for under the judged result being, using last data set in described N continuous data set as the second data set, using last data point in described second data set as the second data point, and select data point that the amplitude between described first data point and described second data point is minimum as spectral peak terminal.
Limit and search N number of data set continuously, save the time determining spectral peak terminal, solve spectral peak final position and determine problem to the rear.
Illustrate as one, also include, second terminal confirmation unit, for under no judged result, in group after searching described first data set, the G-bar absolute value of data point is more than a data set of described predetermined slope threshold value, and using this data set as the second data set, select any data o'clock in described second data set as the second data point;Search all data points less than described predetermined slope threshold value of the slope absolute value between described first data point and described second data point, data point minimum for wherein amplitude is defined as spectral peak terminal.
Illustrate as one, in searching judging unit, if having the data point in one group of data set in described N continuous data set slope reversion occurs, using this group data set as the second data set, and using the data point of slope reversion in this data set as the second data point, and select data point minimum for the amplitude between the first data point and the second data point as spectral peak terminal.
Illustrating as one, N=(0.05*60*SR)/L, L=(PW*SR)/15, wherein SR is the sample rate of data, and PW is the peak width of spectral peak, and L is the number of data point in array.
By above-mentioned equations N value so that spectral peak final position determines and searches for spectral peak terminal time and all reaches optimum.
Illustrating as one, described spectral peak intermediate point is spectral peak summit or spectral peak is turned right a little.
What the method judged first with slope threshold value determined spectral peak turns right a little, reapplies the method identification spectral peak terminal of the present invention, can improve spectral peak recognition efficiency further.
Detailed description of the invention
Below in conjunction with accompanying drawing, specific embodiments of the present invention are further described in detail.
With reference to Fig. 3, it is shown that the method flow diagram of the present invention a kind of spectral peak terminal method of adjustment embodiment, comprise the steps:
Step S301, determines spectral peak intermediate point;
In this step, the method that in prior art, slope threshold value judges first is applied to find out the intermediate point of spectral peak.In the present embodiment, the intermediate point of spectral peak is chosen for the summit of spectral peak.
As other citing, the intermediate point of described spectral peak can also choose spectral peak turn right a little or choose spectral peak summit and spectral peak turn right a little between any point as intermediate point.
As other citing, determine that spectral peak intermediate point can also use other prior aries to realize.
Step S302, whether the slope value of the data point in data set after judging described spectral peak intermediate point successively there is reversion, if there is reversion, using first data point after last data point before reversion or reversion as spectral peak terminal;
In this step, slope value occur reversion refer to slope value from negative value become on the occasion of.In the present embodiment, the data point number in each data set is 3, and alternately covers packet, described alternately covering packet refers to: the 1st, 2,3 data points are first group, 2nd, 3,4 data points are second group, and the 3rd, 4,5 data points are the 3rd group, the most alternately cover circulation packet.Choosing every 3 data points is one group, makes spectral peak terminal regulated efficiency height, terminal confirm accurately.
As other citing, the data point number in described each data set can also be 1,2,4 etc..
As other citing, data point number L in described each data set can be according to the formula of prior art:
L=(PW*SR)/15 calculates, in formula: PW is the peak width of spectral peak, and SR is sample rate.
As other citing, each data set can also use other group technologies, and the such as the 1st, 2,3 data points are first group, and the 3rd, 4,5 data points are second group;Or the 1st, 2,3 data points are first group, the 4th, 5,6 data points are second group.
As other citing, there is reversion in described slope value, it is also possible to refer to that slope value is become 0 from negative value.
Step S303, without reversion occur, in lookup group, the G-bar absolute value of data point is less than the first data set of predetermined slope threshold value, and selects any data o'clock in described first data set as the first data point;
In this step, illustrating as one, by described data set, slope absolute value is defined as the first data point less than predetermined slope threshold value and minimum data point.In the case of data in described data set are relatively more, directly slope absolute value is defined as the first data point less than predetermined slope threshold value and minimum data point, it is possible to reduce the time of spectral peak terminal identification.
Step S304, continue to search for N continuous the data set after described first data set, judge that slope reversion does not the most occur in the total data the point whether absolute value of the G-bar of described N continuous data set is respectively less than in predetermined slope threshold value, and described N continuous data set;
Step S305, if, then using last data set in described N continuous data set as the second data set, using last data point in described second data set as the second data point, and select data point that the amplitude between described first data point and described second data point is minimum as spectral peak terminal.
In the present embodiment, amplitude correspondence absorbance, absorbance refers to that light passes through the incident intensity before solution or a certain material and this light denary logarithm by the transmitted intensity ratio after solution or material, and the unit of absorbance is Au, mAu.
The spectral peak terminal method of adjustment of the present embodiment, limits and searches N number of data set continuously, save the time determining spectral peak terminal, solve spectral peak final position and determine problem to the rear.
Illustrate as one, also include step S306, if not, in group after then searching described first data set, the G-bar absolute value of data point is more than a data set of described predetermined slope threshold value, and using this data set as the second data set, select any data o'clock in described second data set as the second data point;Search all data points less than described predetermined slope threshold value of the slope absolute value between described first data point and described second data point, data point minimum for wherein amplitude is defined as spectral peak terminal.
, when there is ascendant trend again in the hangover at peak in embodiment in this illustration, it is possible to determines spectral peak terminal quickly and accurately.
Illustrate as one, in step s 304, if having the data point in one group of data set in described N continuous data set slope reversion occurs, using this group data set as the second data set, and using the data point of slope reversion in this data set as the second data point, and select data point minimum for the amplitude between the first data point and the second data point as spectral peak terminal.
Data point is occurred the data set of slope reversion as the second data set, the time of spectral peak terminal identification can be saved further.
In the present embodiment, N=(0.05*60*SR)/L, L=(PW*SR)/15, wherein SR is the sample rate of data, and PW is the peak width of spectral peak, and L is the number of data point in data set.Wherein, before chromatographic signal sampling, need user to set sample rate SR of chromatographic data, before carrying out chromatographic data process, need user to set peak width PW and the predetermined slope threshold value of spectral peak.As other citing, in this illustration, it is also possible to use automatic peak width and automatic threshold, peak width PW of spectral peak and predetermined slope threshold value are just not required to user and set.
By above-mentioned equations N value so that spectral peak final position determines and searches for spectral peak terminal time and all reaches optimum.For same one piece of data, user sets different sample rate SR, peak width PW of spectral peak and predetermined slope threshold values, uses above-mentioned equations N value, all can reach optimum effect.
Illustrating as one, described spectral peak intermediate point is spectral peak summit or spectral peak is turned right a little.
What the method judged first with slope threshold value determined spectral peak turns right a little, reapplies the method identification spectral peak terminal of the present invention, can improve recognition efficiency further.
With reference to Fig. 4, it is shown that the structural representation of the embodiment of a kind of chromatographic work station 400 with spectral peak terminal adjustment function of the present invention.Chromatographic work station 400 includes:
Spectral peak intermediate point searches unit 401, is used for determining spectral peak intermediate point;
Slope value reversion detector unit 402, whether the slope value of the data point in data set after judging described spectral peak intermediate point successively there is reversion, if there is reversion, using first data point after last data point before reversion or reversion as spectral peak terminal;
First data point searches unit 403, and for without reversion occur, in lookup group, the G-bar absolute value of data point is less than the first data set of predetermined slope threshold value, and selects any data o'clock in described first data set as the first data point;
Search judging unit 404, for continuing to search for N continuous the data set after described first data set, judge that slope reversion does not the most occur in the total data the point whether absolute value of the G-bar of described N continuous data set is respectively less than in predetermined slope threshold value, and described N continuous data set;
First terminal point confirmation unit 405, for under the judged result being, using last data set in described N continuous data set as the second data set, using last data point in described second data set as the second data point, and select data point that the amplitude between described first data point and described second data point is minimum as spectral peak terminal.
Limit and search N number of data set continuously, save the time determining spectral peak terminal, solve spectral peak final position and determine problem to the rear.
Illustrate as one, chromatographic work station 400 also includes, second terminal confirmation unit 406, for under no judged result, in group after searching described first data set, the G-bar absolute value of data point is more than a data set of described predetermined slope threshold value, and using this data set as the second data set, select any data o'clock in described second data set as the second data point;Search all data points less than described predetermined slope threshold value of the slope absolute value between described first data point and described second data point, data point minimum for wherein amplitude is defined as spectral peak terminal.
Illustrate as one, in searching judging unit 404, if having the data point in one group of data set that slope reversion occurs in described N continuous data set, using this group data set as the second data set, and using the data point of slope reversion in this data set as the second data point, and select data point minimum for the amplitude between the first data point and the second data point as spectral peak terminal.
Illustrating as one, N=(0.05*60*SR)/L, L=(PW*SR)/15, wherein SR is the sample rate of data, and PW is the peak width of spectral peak, and L is the number of data point in array.
By above-mentioned equations N value so that spectral peak final position determines and searches for spectral peak terminal time and all reaches optimum.
Illustrating as one, described spectral peak intermediate point is spectral peak summit or spectral peak is turned right a little.
What the method judged first with slope threshold value determined spectral peak turns right a little, reapplies the method identification spectral peak terminal of the present invention, can improve recognition efficiency further.
Illustrating as one, described chromatographic work station 400 performs each step according to the flow chart shown in Fig. 3.
Above-described only the preferred embodiments of the present invention; it is it should be understood that; the explanation of preferred embodiment above is only intended to help to understand method and the core concept thereof of the present invention; the protection domain being not intended to limit the present invention; any amendment of being made within all thought in the present invention and principle, equivalent etc., should be included within the scope of the present invention.