bloqade.lanes.visualize.artist.StateArtist
← Module overview
class
method
sourcemethod
method
sourcemethod
method
method
method
method
method
source
classStateArtist¶source
bloqade.lanes.visualize.artist.StateArtist
Signature
class StateArtist(ax: Axes, arch_spec: ArchSpec, plot_params: PlotParameters, x_min: float, x_max: float, y_min: float, y_max: float)Parameters
| Name | Type | Description |
|---|---|---|
ax | Axes | |
arch_spec | ArchSpec | |
plot_params | PlotParameters | |
x_min | float | |
x_max | float | |
y_min | float | |
y_max | float |
Attributes
| Name | Type | Description |
|---|---|---|
ax | Axes | |
arch_spec | ArchSpec | |
plot_params | PlotParameters | |
x_min | float | |
x_max | float | |
y_min | float | |
y_max | float |
methodmove_renderer¶source
bloqade.lanes.visualize.artist.StateArtist.move_renderer
Signature
def move_renderer(move_execution: MoveExecution, speed: float) -> MoveRenderer | NoneParameters
| Name | Type | Description |
|---|---|---|
move_execution | MoveExecution | |
speed | float |
Returns
MoveRenderer | None
methoddraw_atoms¶source
bloqade.lanes.visualize.artist.StateArtist.draw_atoms
methoddraw_moves¶source
bloqade.lanes.visualize.artist.StateArtist.draw_moves
def draw_moves(state: MoveExecution, **kwargs={})Parameters
| Name | Type | Default | Description |
|---|---|---|---|
state | MoveExecution | required | |
**kwargs | — | {} |
methodshow_local_r¶source
bloqade.lanes.visualize.artist.StateArtist.show_local_r
methodshow_local_rz¶source
bloqade.lanes.visualize.artist.StateArtist.show_local_rz
methodshow_global_r¶source
bloqade.lanes.visualize.artist.StateArtist.show_global_r
methodshow_global_rz¶source
bloqade.lanes.visualize.artist.StateArtist.show_global_rz
methodshow_cz¶source
bloqade.lanes.visualize.artist.StateArtist.show_cz
methodshow_slm¶source
bloqade.lanes.visualize.artist.StateArtist.show_slm
def show_slm(stmt: ir.Statement, atom_marker: str)Parameters
| Name | Type | Description |
|---|---|---|
stmt | ir.Statement | |
atom_marker | str |