Matching Template Recipe File
neoEBV can read the Matching Template Recipe File and create figures and measurement points to be used for pattern-match.
Command
Matching Template Recipe File may contain comments, template groups, figures and measurement points belonging to the template group.
- TEMPLATE
- AREA
- POINT
- MEASURE
Commands and Formatting
Comments
Lines prefixed with # are treated as comment lines. The comment line can be inserted anywhere.
# comment
TEMPLATE
Create a template group.
You can specify a template name with the id=
option.
When id=
option is omitted, the name is assigned as Template1, Template2, … in order described in the recipe file automatically.
An error occurs when the same template name exists.
Each TEMPLATE command requires at least one AREA or POINT command. 0 or more MEASURE commands can be specified for each TEMPLATE command.
TEMPLATE [id=<name>]
AREA
Create figures from the specified area.
Only figures completely inside of the area are added to the template group.
AREA <sx (um)>,<sy (um)>,<ex (um)>,<ey (um)>
POINT
Create a figure from the specified coordinates.
The figure existing at the specified coordinates are added to the template group.
POINT <x (um)>,<y (um)>
MEASURE
Create a measurement point.
MEASURE <DIRECTION> <x (um)>,<y (um)>
Item | Description |
---|---|
Direction | X, Y, <Angle number> |
Matching Template Recipe File Sample
# 1st TEMPLATE
TEMPLATE id=Test
# specify figures area
AREA 0.083,0.05,0.76,0.45
# add measurement points
MEASURE X 0.675000,0.138000
MEASURE 45 0.332000,0.418000
# 2nd TEMPLATE
TEMPLATE
# specify figure coordinates
POINT 0.436,0.902
POINT 0.44,0.759
POINT 0.695,0.842
# add measurement points
MEASURE 40 0.585,0.887
MEASURE Y 0.505000,0.835000