WafermapSubsiteGroup
Bases: CommandGroupBase
Represents the wafermap subsite command group which provides functionality for setting up und stepping over subsites.
__init__(comm, wafermap_command_group)
Creates a new WafermapSubsiteGroup object.
You are not meant to directly create objects of this class.
add(id, x, y, orient=AxisOrient.UpRight)
Add a single subsite to the wafermap.
Creates a new subsite definition in SENTIO. The subsite position is defined relative to the die home position. This is the chuck home position projected onto the current die.
Wraps the "map:subsite:add" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id |
str
|
The subsite id. |
required |
x |
float
|
The x position of the subsite in micrometer as an offset to the die home position. |
required |
y |
float
|
The y position of the subsite in micrometer as an offset to the die home position. |
required |
orient |
AxisOrient
|
The axis orientation used fot the submitted values |
UpRight
|
bin_step_next(bin)
Step to the next active subsite and assign bin code to current subsite.
Wraps the "map:subsite:bin_step_next" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bin |
int
|
The bin code to assign to the current subsite. |
required |
Returns:
| Type | Description |
|---|---|
Tuple[int, int, int]
|
A tuple containing the wafermap row, column and subsite index after the step. |
export(file_path)
Export subsite definitions to file.
Wraps the "map:subsite:export" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path |
str
|
Full or relative file path to export (CSV, XLS, XLSX) |
required |
get(idx, orient=None)
Returns the subsite definition for a subsite with a given index.
Wraps the "map:subsite:get" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
idx |
int
|
The index of the subsite. |
required |
orient |
AxisOrient | None
|
The axis orientation used for the returned subsite coordinates. If this parameter is omitted the axis orientation of the wafer map is used. |
None
|
Returns:
| Type | Description |
|---|---|
str
|
A tuple containing the subsite id, the x position and the y position of the subsite. |
float
|
X and y positions are relative to the die home position. |
get_num(group=None)
Retrieve the number of subsites per die defined in the wafermap.
Wraps the "map:subsite:get_num" remote command.
Returns:
| Type | Description |
|---|---|
int
|
The number of subsites in the wafermap. |
get_state(subsite, col=None, row=None)
Check if a subsite is active (globally or locally).
Wraps the "map:subsite:get_state" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
subsite |
int | str
|
Subsite index or ID. |
required |
col |
int | None
|
Optional column for local state check. |
None
|
row |
int | None
|
Optional row for local state check. |
None
|
Returns:
| Type | Description |
|---|---|
int
|
1 if active, 0 if inactive. |
import_from_file(file_path)
Import subsite definitions from file.
Wraps the "map:subsite:import" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path |
str
|
Path to CSV/XLS/XLSX file. |
required |
remove(subsite)
Remove a subsite from the table.
Wraps the "map:subsite:remove" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
subsite |
int | str
|
Index or ID of the subsite to remove. |
required |
reset()
Reset Sentios subsite definitions.
Wraps the "map:subsite:reset" remote command.
set_state(subsite, state, col=None, row=None)
Set a subsite active or inactive.
Wraps the "map:subsite:set_state" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
subsite |
int | str
|
Subsite ID or index. |
required |
state |
int
|
1 = active, 0 = inactive. |
required |
col |
int | None
|
Optional column index for local state. |
None
|
row |
int | None
|
Optional row index for local state. |
None
|
step(target)
Step to a specific subsite on the current die.
Wraps the "map:subsite:step" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target |
int | str
|
The subsite index or ID to step to. |
required |
Returns:
| Type | Description |
|---|---|
Tuple[int, int, int]
|
A tuple containing (column, row, subsite) after the step. |
step_next()
Step to the next active subsite.
Wraps the "map:subsite:step_next" remote command.
Returns:
| Type | Description |
|---|---|
Tuple[int, int, int]
|
A tuple containing the wafermap row, column and subsite index after the step. |
step_previous()
Step to the previous active subsite.
Wraps the "map:subsite:step_previous" remote command.
Returns:
| Type | Description |
|---|---|
Tuple[int, int, int]
|
A tuple of (col, row, subsite) after step. |
handler: python options: members: WafermapSubsiteGroup