• No results found

Empower 3 FR2 Advanced Custom Fields BooleanEnumerated and Inter Sample Calculations

N/A
N/A
Protected

Academic year: 2021

Share "Empower 3 FR2 Advanced Custom Fields BooleanEnumerated and Inter Sample Calculations"

Copied!
82
0
0

Loading.... (view fulltext now)

Full text

(1)

Empower 3 FR2

Advanced Custom Fields

Boolean/Enumerated

and

Inter Sample Calculations

By

Ronald Haas

Service Data Specialist/Certified Trainer

Central Europe

(2)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 2

Custom Field (Examples)

Determination of Theobromine (ThBr) and Caffeine (Caf) In

(3)
(4)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 4

Open Project: CustomFieldsPart_Two and minimize it. This project we will use for the entire workshop

(5)
(6)
(7)

Boolean Functions

GT(

Greater than

GTE(

Greater than or equal

LT(

Less than

LTE(

Less than or equal

EQ(

Equal

NEQ(

Not equal

EQI (

Equal, case insensitive

NEQI(

Not equal, case insensitive

RANGE(

Range

ENUM(

Enumeration

Boolean Operators

&

AND

|

OR

Boolean Custom Field

A Boolean custom field is where you assign the Bool data type and

use special functions to return True or False.

(8)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 8

Example 1 Boolean CF

Examples:

GT(Area,20000)

Any Area above 10000 is true

GT(ThBr[Area],20000)

The Area of ThBr above 20000 is true

GT(ThBr[Area],20000)&GT(Caf[Area],400000)

The Area of ThBr above 20000 and the Area of Caf above 400000 is true

GT(ThBr[Area],20000)|GT(Caf[Area],400000)

The Area of ThBr above 20000 or the Area of Caf above 400000 is true

GT(CCompRef1[Area],CConst1)

CCompRef1 and CConst1 are specified in the Processing Method

20000 400000

(9)
(10)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 10

1 2

Always first make the CF active in the project Then take the Sample Set in Review

(11)

GT(CCompRef1[Area],CConst1)

Save Processing Method , Close Review Process

(12)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 12

(13)
(14)
(15)
(16)
(17)
(18)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 18

Example 2: Enumeration Custom Field

Definition :A custom field with Enumeration is a data type

with one ore more Boolean expressions

A Boolean always has two statements

Fail/Pass

GT(CCompRef1[Area],CConst1)

A Enumeration has more than two possible answers

Low/Good/High

ENUM(LT(CCompRef1[Area],CConst1),RANGE(CCompRef1[Area],CConst1,CConst2) ,GT(CCompRef1[Area],CConst2))

The same functions and operators apply as in Boolean

(19)

Sometimes a Field is too big and does not fit the window. When you get an error message:

(20)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 20

ENUM(LT(CCompRef1[Area],CConst1),RANGE(CCompRef1[Area],CConst1,CConst2),

GT(CCompRef1[Area],CConst2))

Copy to word

(21)

ENUM(LT(CCompRef1[Area],CConst1),RANGE(CCompRef1[Area],CConst1,CConst2),

(22)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 22

Close review

(23)

Example 3 Boolean CF Area_Limit/Area_GT05

(Explanation of Use As)

Calculate the % Area above 0.5% of the Main Component Caf.

First Custom Field: Area_Limit=GT(Area,(Caf[Area]*0.005))

(24)
(25)

GT(Area,(Caf[Area]*0.005)) GT(Area,(Caf[Area]*0.005)) GT(Area,Caf[Area]*0.005)

(26)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 26

Close Review

(27)

Example 2 Boolean CF Limit

Change the Caf to CCompRef1!!!!!!!!!! To make it more general

(28)
(29)
(30)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 30

Close Review

(31)

CCompRef

•Custom Component Reference, the field in the Components table that identifies one or more peaks to be referenced when custom results are to be calculated based on the specified peaks. Use CCompRef1 to CCompRef3 where average ratios and other interpeak calculations are needed for calculation.

•The field in the Processing Method window that specifies a peak to be used in a custom calculation formula applied to all components in a result.

CCalRef

•Custom Calculation Reference, the field in the Processing Method window that specifies a reference peak to be used in a custom calculation that is applied to all components in a result. CCalRef is used for calculating interpeak custom results for all peaks in the Components table (in the Processing Method window).

(32)
(33)
(34)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 34

Save and Close review

(35)
(36)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 36

(37)

Save and Close Review

(38)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 38

Boolean CF : Use As

Use as: Position calculates with the value column then you can enter text in the translation column.

(39)
(40)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 40

Close Review

(41)

Boolean CF : Use As

Use as: Fields combines the entered text with a parameter, here Area.

Only Area in the translation column writes the text “Area” and with (fc) behind it, Empower writes the Area. But you cannot use it for any further calculation.

Change Position to Field and Translation to Area (fc)

(42)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 42

Close Review

(43)

To exclude the Caf Area: change Area_Limit to:

GT(Area,CCalRef1[Area]*0.005)&NEQ(Area,CCalRef1[Area])

and set the Use As back to Position

(44)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 44

SUM(Area_GT_05)

(45)
(46)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 46

(47)

Area_GT_05/Sum_Area_GT05*100 Area_GT_05/Sum_Area_Gt05*100

(48)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 48

Close Review

(49)

InterSample Calculations:

Syntax:

Label.Injection.Channel(Field)

Example:

S0101.1.

Acquity TUV ChA

(Area)

This would take the area of this TUV channel of

the first injection of the sample labeled “S0101”

and plug it into the calculation.

Comments:

o

You can omit parts of the syntax but don’t omit

the periods

Label.Inj.(Field) = No Channel

Label..Channel(Field) = No Injection

Label..(Field) = No Inject or Channel

(50)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 50

Example 4: Blank subtraction

We create CF:

Corr_Area=Area-(BL..(Area))

And use this in the Comp. Table as the Y-ax value

In the Blank we have a peak that interferes with Caffeine. To correct this we subtract the Blank area from the Standard and Sample areas

(51)
(52)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 52

Use Result Set Only to be sure that the Blank injection comes from the same Sample Set.

Must process the

(53)

In Review:

First Change the Proc.Mth. and Alter Sample

(54)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 54

(55)
(56)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 56

(57)

Example 5:

(58)
(59)

(.1.(Area)+.2.(Area))/2

(60)
(61)
(62)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 62

Summary Functions are:

Prod

Multiplication

AVE

Average

MAX

Maximum value

MIN

Minimum value

SUM

Summation

%RSD

Percent Relative Standard Deviation

•Syntax for Custom Field with summarize

function :

Label.Injection.Channel.Function(Field)

First CF: AVE_Area=

…AVE(Area)

(63)
(64)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 64

...AVE(Area)

(65)
(66)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 66

Summarize Custom Field Incrementally Calculations

(67)
(68)
(69)

%

is everything (wildcart) like * in windows.

?

is one character

(70)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 70

(71)

First CustomFields Update then Result Set Process using Existing Integration and Quantitate Only adds the new results to the same Result Set.

Calibrate and Quantitate always gives a new Result Set Go To Peak with View Filter LastResults

(72)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 72

Next example is the average of two vials with the same label

%

is everything (wildcart) like * in windows.

?

is one character

SAME is all with the same label

First CustomFields Update then Result Set Process using Existing Integration and Quantitate Only

(73)
(74)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 74

…AVE(Area) .%..AVE(Area)

SAME.%..(Area)

First Update the CustomFields then Result Set Process using Existing Integration and Quantitate Only Then Go To Peaks using last results.

(75)

At last we do want only a value at the second injection with CF .%..AVE(Area), For this there are:

Used in CF’s like:

EQ(Injection,2)*.%..AVE(Area)+EQ(Injection,1)*-60004

Here it says that only when

Injection=2 Empower must do the calculation: .%..AVE(Area)

And

(76)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 76

EQ(Injection,2)*.%..AVE(Area)+EQ(Injection,1)*-60004

(77)

…AVE(Area) .%..AVE(Area)

SAME.%..(Area)

First Update the CustomFields then Result Set Process using Existing Integration and Quantitate Only Then Go To Peaks using last results.

(78)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 78 EQ(Injection,2)*.%..AVE(Area)+EQ(Injection,1)*-60004 EQ(Injection,2)*.%..AVE(Area)-EQ(Injection,1)*50000 EQ(Injection,2)*.%..AVE(Area)+EQ(Injection,1)*-50000 EQ(Injection,2)*.%..AVE(Area)+EQ(Injection,1)*50000

EQ(Injection,2)*.%..AVE(Area)

-

EQ(Injection,1)*50000

(79)

Goal: From 2 injections from the same vial calculate for one peak

100

)

100

*

(

%

LowestArea

a

HighestAre

difference

GT((.1.(CCompRef1[Area])),(.2.(CCompRef1[Area])))*((.1.((CCompRef1[Area]))/.2.(CCompRef1[Area])*100)-100)+ GT((.2.(CCompRef1[Area])),(.1.(CCompRef1[Area])))*((.2.((CCompRef1[Area]))/.1.(CCompRef1[Area])*100)-100)

Specify Caf as CCompRef1 in the processing method component table.

When the Area of Caf. from the first injection is larger then the second

Divide the first injection by the second And (+)

When the Area of Caf from the second injection is larger then the first

Divide the second injection by the first

If you have time Last example

Use Sample Set: Tea_2_InjProcess with Acq Method Set Verify in tab Peaks and create View Filter for it

(80)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 80

0.5% is the limit of difference. Create a CF that will mark this With the result at the Injection 2

(81)

The End

(82)

©2010 Waters Corporation | COMPANY CONFIDENTIAL 82

View filter CF ID Descending lists the CF’s in order of create date

References

Related documents