Motion parameters
Class documentation
Bases: QWidget
A class representing a widget for displaying motion parameters.
Attributes:
| Name | Type | Description |
|---|---|---|
graphWidget_pos_primary |
PlotWidget
|
Widget for displaying primary axis position graph. |
graphWidget_error_primary |
PlotWidget
|
Widget for displaying primary axis error graph. |
graphWidget_pos_secondary |
PlotWidget
|
Widget for displaying secondary axis position graph. |
graphWidget_error_secondary |
PlotWidget
|
Widget for displaying secondary axis error graph. |
data_line_pos_primary |
PlotDataItem
|
Data line for primary axis position graph. |
data_line_error_primary |
PlotDataItem
|
Data line for primary axis error graph. |
data_line_pos_secondary |
PlotDataItem
|
Data line for secondary axis position graph. |
data_line_error_secondary |
PlotDataItem
|
Data line for secondary axis error graph. |
pos_primary |
list
|
List to store primary axis position data. |
error_primary |
list
|
List to store primary axis error data. |
pos_secondary |
list
|
List to store secondary axis position data. |
error_secondary |
list
|
List to store secondary axis error data. |
Source code in GUI.py
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 | |
__init__()
Initialize the MotionParams widget.
Source code in GUI.py
update_motion_plot(t, pos, error)
Update the motion parameters graphs with new data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
t |
list
|
List of time values. |
required |
pos |
dict
|
Dictionary containing position data for primary and secondary axes. |
required |
error |
dict
|
Dictionary containing error data for primary and secondary axes. |
required |