Classes

Section Classes

class Measurement

Measurement

Class for handling Measurement.

Examples

# Load measurement data from a file and plot it.
pynebv.measurement.load('/path/to/sample.measurements', "Measure Points")
# Clear all points.
pynebv.measurement.clear()

Methods

def change_mode(mode)

Specify the format of the measurement recipe to be created.

Args

mode : str

type detail: str: 'general', 'lms' or 'emu'

Specify mode.

Returns

none
Always none.
def clear()

Delete add measurement points and alignment points.

Returns

none
Always none.
def load(filePath, /, format='Unknown')

Create measurement points from file.

Args

filePath : str

Specify file path.

format : str

type detail: str: 'Unknown', 'Measure Points', 'Measure Points as CSV', 'CD Results', 'LMS PC1' or 'EMU CSV'

Specify format. 'Unknown' indicates the format will be automatically detected.

Returns

none
Always none.
def move_origin(point)

Move the origin of the measurement points.

Args

point : tuple[float, float]

Specify coordinate.

Returns

none
Always none.
def save(filePath, format, /, itemList=[])

Save measurement points and alignment points.

Args

filePath : str

Specify file path.

format : str

type detail: str: 'Measure Points', 'Measure Points as CSV', 'CD Results', 'LMS PC1' or 'EMU CSV'

Specify format.

itemList : list[EbvItem]

type detail: list[EbvItem]: list of EbvItem or EbvItemList

Specify target items.

Returns

none
Always none.
class MeasurementPointList

MeasurementPointList (EbvListSection)

Class for handling measurement points of Measurement.

Examples

# Create a new measurement point.
measurement = pynebv.measurement_point.add((10, 10),angle=0)
# Delete the measurement point.
measurement.delete()

Ancestors

Methods

def add(point, angle, /, tone='Auto', type='General', isBox=False, point2=[0.0, 0.0], jogSize={'size1': 0.0, 'size2': 0.0}, assistSize=0.0, jogType='Average', searchWidth='No Search', targetCD=0.0, targetCDTolerance=0.0, successionItem=None)

Add measurement point

Args

point : tuple[float, float]

Specify coordinate.

angle : object

type detail: object: float or str('Auto', 'Long', or 'Short')

Specify angle as letters or decimals (degrees).

tone : str

type detail: str: 'Auto', 'Line', 'Space', 'Auto Pitch', 'Pitch Up-Up', 'Pitch Down-Down', 'Line W Assist', 'Space W Assist', 'Target CD Width', 'Target CD Space', 'Target CD Pitch Up-Up' or 'Target CD Pitch Down-Down'

Specify tone.

type : str

type detail: str: 'General', 'Hole', 'Edge', 'View', 'Corner', 'P2P', 'LSP2P', 'Area' or 'Area by 2 Points'

Specify type.

isBox : bool

Specify whether to take a box measurement.

point2 : tuple[float, float]

Specify coordinate for 2nd point.

jogSize : dict

Specify jog size.

"size1" : float
    Specify the round size for the first time.

"size2" : float
    Specify the round size for the second time.

assistSize : float

Specify assist size.

jogType : str

type detail: str: 'Average', 'Min' or 'Max'

Specify jog type.

searchWidth : str

type detail: str: 'No Search', 'Min' or 'Max'

Specify search width.

targetCD : float

Specify target CD.

targetCDTolerance : float

Specify target CD tolerance.

successionItem : EbvItem

Specify inheritance source measurement point.

Returns

EbvItemList
Return new measurement point.
def autorename()

Rename automatically.

Returns

none
Always none.
def sort(sortType)

Sort items.

Args

sortType : str

type detail: str: 'Left-Top Vertical', 'Left-Top Horizontal', 'Left-Top Vertical ZigZag', 'Left-Top Horizontal ZigZag', 'Right-Top Vertical', 'Right-Top Horizontal', 'Right-Top Vertical ZigZag', 'Right-Top Horizontal ZigZag', 'Left-Bottom Vertical', 'Left-Bottom Horizontal', 'Left-Bottom Vertical ZigZag', 'Left-Bottom Horizontal ZigZag', 'Right-Bottom Vertical', 'Right-Bottom Horizontal', 'Right-Bottom Vertical ZigZag', 'Right-Bottom Horizontal ZigZag', 'Left-Top Vertical Displayed Only', 'Left-Top Horizontal Displayed Only', 'Left-Top Vertical ZigZag Displayed Only', 'Left-Top Horizontal ZigZag Displayed Only', 'Right-Top Vertical Displayed Only', 'Right-Top Horizontal Displayed Only', 'Right-Top Vertical ZigZag Displayed Only', 'Right-Top Horizontal ZigZag Displayed Only', 'Left-Bottom Vertical Displayed Only', 'Left-Bottom Horizontal Displayed Only', 'Left-Bottom Vertical ZigZag Displayed Only', 'Left-Bottom Horizontal ZigZag Displayed Only', 'Right-Bottom Vertical Displayed Only', 'Right-Bottom Horizontal Displayed Only', 'Right-Bottom Vertical ZigZag Displayed Only' or 'Right-Bottom Horizontal ZigZag Displayed Only'

Specify sort type.

Returns

none
Always none.
def sort_by_column(column, sortAscending)

Sort by column.

Args

column : int

Specify an index number of column.

sortAscending : bool

Specify whether to sort in ascending order.

Returns

none
Always none.

Inherited members

class MeasurementAlignmentList

MeasurementAlignmentList (EbvListSection)

Class for handling alignment points of Measurement.

Examples

# Create a new alignment point.
alignment = pynebv.measurement_alignment.add((10, 10))
# Delete the alignment point.
alignment.delete()

Ancestors

Methods

def add(point, /, type='Alignment Mark')

Add new alignment point.

Args

point : tuple[float, float]

Specify coordinate.

type : str

type detail: str: 'Alignment Mark', 'Site Align' or 'Focus Map'

Specify type.

Returns

EbvItem
Return new alignment point.
def sort_by_column(column, sortAscending)

Sort by column.

Args

column : int

Specify an index number of column.

sortAscending : bool

Specify whether to sort in ascending order.

Returns

none
Always none.

Inherited members

class MeasurementLsDetectList

MeasurementLsDetectList (EbvListSection)

Class for handling LS Detect conditions / LS Detect Results.

Examples

# Create LS detect condition.
ls_detect = pynebv.measurement_ls_detect.add('WIDTH', 0)
# Execute LS detect.
ls_detect.execute((0,0,10,10))
# Get detected points.
points = pynebv.measurement_point.list()

Ancestors

Methods

def add(tone, angle, /, wRange='w<=1.0', lRange='0<=l', dRange='0<=d', name='')

Add a LS detect condition.

Args

tone : str

type detail: str: 'WIDTH' or 'SPACE'

Specify tone.

angle : object

type detail: object: float or str('X ,'Y', 'XY', 'PX', 'PY', 'JX', or 'JY')

Specify angle as letters or decimals (degrees).

wRange : str

Specify width condition.

lRange : str

Specify length condition.

dRange : str

Specify distance condition.

name : str

Specify name.

Returns

EbvItem
Return new LS detect condition.

Inherited members

Item Classes

class MeasurementPointListItem

MeasurementPointListItem (EbvItem)

Ancestors

Subclasses

Inherited members

class MeasurementSite

MeasurementSite (MeasurementPointListItem)

Class representing Site of Measurement.

Ancestors

Instance variables

var name : str

Name of item.

var pos : tuple[float, float]

Position of item.

Methods

def delete()

Delete an item.

Returns

none
Always none.
def duplicate(type, /, jobdeck=False, nx=1, dx=0.0, ny=1, dy=0.0, insertAfterLast=True, duplicateChip={'chips': []})

Duplicate an item.

Args

type : str

type detail: str: 'Array type1', 'Array type2', 'Array type3', 'Array type4', 'Cross', 'Linear' or 'Jobdeck'

Specify type.

jobdeck : bool

Specify whether to use jobdeck layout as the type of duplication.

nx : int

Specify the number of horizontal duplicates.

dx : float

Specify the pitch of horizontal duplicates.

ny : int

Specify the number of vertical duplicates.

dy : float

Specify the pitch of vertical duplicates.

insertAfterLast : bool

Specify whether duplicated items are added to the end of the list.

duplicateChip : dict

Specify a list of duplication positions to be used when you want to specify duplication positions in detail.

"chips" : list
    Specify the chip coordinate list in the format [{"x":0, "y":1}, …].

Returns

EbvItemList
Return duplicaties.
def relocate(destinationItem, /, insertAfter=True)

Move position in list.

Args

destinationItem : EbvItem

Specify destination item.

insertAfter : bool

Specify whether to insert after destination.

Returns

none
Always none.
def set_additional(pointType, point)

Set additional point.

Args

pointType : str

type detail: str: 'focusPoint', 'addressPoint' or 'sitePoint'

Specify point type.

point : tuple[float, float]

Specify coordinate.

Returns

none
Always none.
def set_additional_by_offset(pointType, point)

Set additional point by offset.

Args

pointType : str

type detail: str: 'focusPoint', 'addressPoint' or 'sitePoint'

Specify point type.

point : tuple[float, float]

Specify coordinate.

Returns

none
Always none.
def shift(move=[0.0, 0.0], rotate=0.0, relativeOffset=False, correctRelativeOffset=False)

Shift an item.

Args

move : tuple[float, float]

Specify coordinate.

rotate : float

Specify angle.

relativeOffset : bool

Specify whether to shift the associated points

correctRelativeOffset : bool

Specify whether not to shift the associated points when their corresponding figures are not found.

Returns

none
Always none.
def ungroup()

Ungroup.

Returns

none
Always none.

Inherited members

class MeasurementPoint

MeasurementPoint (MeasurementPointListItem)

Class representing Measurement Point of Measurement.

Ancestors

Instance variables

var name : str

Name of item.

var pos : tuple[float, float]

Position of item.

Methods

def delete()

Delete an item.

Returns

none
Always none.
def duplicate(type, /, jobdeck=False, nx=1, dx=0.0, ny=1, dy=0.0, insertAfterLast=True, duplicateChip={'chips': []})

Duplicate an item.

Args

type : str

type detail: str: 'Array type1', 'Array type2', 'Array type3', 'Array type4', 'Cross', 'Linear' or 'Jobdeck'

Specify type.

jobdeck : bool

Specify whether to use jobdeck layout as the type of duplication.

nx : int

Specify the number of horizontal duplicates.

dx : float

Specify the pitch of horizontal duplicates.

ny : int

Specify the number of vertical duplicates.

dy : float

Specify the pitch of vertical duplicates.

insertAfterLast : bool

Specify whether duplicated items are added to the end of the list.

duplicateChip : dict

Specify a list of duplication positions to be used when you want to specify duplication positions in detail.

"chips" : list
    Specify the chip coordinate list in the format [{"x":0, "y":1}, …].

Returns

EbvItemList
Return duplicaties.
def execute_ls_detect(size, /, insertAfterLast=False)

Execute LS detect using information of item.

Args

size : float

Specify the size of processing area.

insertAfterLast : bool

Specify whether to insert after the last item.

Returns

none
Always none.
def execute_pattern_match(size)

Execute pattern match using information of item.

Args

size : float

Specify the size of processing area.

Returns

none
Always none.
def extract_ls_detect(name='')

Add a LS detect condtion from measurement point.

Args

name : str

Specify name.

Returns

EbvItem
Return new LS detect condition.
def group(tryGroup=False, eraseFiltered=False, forAllPoints=False)

Grouping items (create measurement site).

Args

tryGroup : bool

Specify whether items that cannot be grouped should not be included in the group.

eraseFiltered : bool

Specify whether to delete those that could not be grouped.

forAllPoints : bool

Specify whether to group all length measurement points regardless of the target.

Returns

EbvItemList
Return measurement site.
def relocate(destinationItem, /, insertAfter=True)

Move position in list.

Args

destinationItem : EbvItem

Specify destination item.

insertAfter : bool

Specify whether to insert after destination.

Returns

none
Always none.
def set_additional(pointType, point)

Set additional point.

Args

pointType : str

type detail: str: 'focusPoint', 'addressPoint' or 'sitePoint'

Specify point type.

point : tuple[float, float]

Specify coordinate.

Returns

none
Always none.
def set_additional_by_offset(pointType, point)

Set additional point by offset.

Args

pointType : str

type detail: str: 'focusPoint', 'addressPoint' or 'sitePoint'

Specify point type.

point : tuple[float, float]

Specify coordinate.

Returns

none
Always none.
def shift(move=[0.0, 0.0], rotate=0.0, relativeOffset=False, correctRelativeOffset=False)

Shift an item.

Args

move : tuple[float, float]

Specify coordinate.

rotate : float

Specify angle.

relativeOffset : bool

Specify whether to shift the associated points

correctRelativeOffset : bool

Specify whether not to shift the associated points when their corresponding figures are not found.

Returns

none
Always none.
def unset_additional(pointType)

Unset additional point.

Args

pointType : str

type detail: str: 'focusPoint', 'addressPoint' or 'sitePoint'

Specify point type.

Returns

none
Always none.

Inherited members

class MeasurementAliginmentListItem

MeasurementAliginmentListItem (EbvItem)

Ancestors

Subclasses

Inherited members

class MeasurementAlignment

MeasurementAlignment (MeasurementAliginmentListItem)

Class representing Alignment Point of Measurement.

Ancestors

Instance variables

var name : str

Name of item.

var pos : tuple[float, float]

Position of item.

Methods

def delete()

Delete an item.

Returns

none
Always none.

Inherited members

class MeasurementLSDetectListItem

MeasurementLSDetectListItem (EbvItem)

Ancestors

Subclasses

Inherited members

class MeasurementLSDetectCondition

MeasurementLSDetectCondition (MeasurementLSDetectListItem)

Class representing LS Detect Condition.

Ancestors

Instance variables

var name : str

Name of item.

Methods

def delete()

Delete an item.

Returns

none
Always none.
def execute(area, /, successionItem=None)

Execute LS detect.

Args

area : tuple[float, float, float, float]

Specify area.

successionItem : EbvItem

Specify inheritance source measurement point.

Returns

none
Always none.

Inherited members

class MeasurementLSDetectResult

MeasurementLSDetectResult (MeasurementLSDetectListItem)

Class representing LS Detect Result.

Ancestors

Instance variables

var name : str

Name of item.

Methods

def delete()

Delete an item.

Returns

none
Always none.

Inherited members