Commit 5ebec371 authored by Cyril Guilloud's avatar Cyril Guilloud
Browse files

CYRIL -> DEMO in examples

parent 4ccc06de
Pipeline #46792 passed with stages
in 6 minutes and 13 seconds
...@@ -25,13 +25,13 @@ Targeted gauges are Bazlers' Prani and Penning gauges. ...@@ -25,13 +25,13 @@ Targeted gauges are Bazlers' Prani and Penning gauges.
## Usage examples ## Usage examples
```python ```python
RH [1]: pir121.state DEMO [1]: pir121.state
Out [1]: 'ON' Out [1]: 'ON'
``` ```
```python ```python
CYRIL [2]: pen71 DEMO [2]: pen71
Out [2]: Out [2]:
---------------- id42/v-pen/71 --------------- ---------------- id42/v-pen/71 ---------------
State: ON State: ON
Gauge is ON - Channel A1 (1) Gauge is ON - Channel A1 (1)
......
...@@ -50,9 +50,9 @@ DEMO [13]: list(flatten_gen([1, [2, 3,[4, 5], 6]])) ...@@ -50,9 +50,9 @@ DEMO [13]: list(flatten_gen([1, [2, 3,[4, 5], 6]]))
Idem but return a list. Idem but return a list.
```python ```python
CYRIL [14]: from bliss.common.utils import flatten DEMO [14]: from bliss.common.utils import flatten
CYRIL [15]: flatten([1, [2, 3,[4, 5], 6]]) DEMO [15]: flatten([1, [2, 3,[4, 5], 6]])
Out [15]: [1, 2, 3, 4, 5, 6] Out [15]: [1, 2, 3, 4, 5, 6]
``` ```
### merge(items): ### merge(items):
......
...@@ -66,8 +66,8 @@ controller: ...@@ -66,8 +66,8 @@ controller:
Usage: Usage:
``` ```python
CYRIL [1]: wa() DEMO [1]: wa()
Current Positions (user, dial) Current Positions (user, dial)
calc_mot m1 calc_mot m1
...@@ -75,8 +75,8 @@ Current Positions (user, dial) ...@@ -75,8 +75,8 @@ Current Positions (user, dial)
3.14150 1.00000 3.14150 1.00000
3.14150 1.00000 3.14150 1.00000
CYRIL [2]: mv(m1,2) DEMO [2]: mv(m1,2)
CYRIL [3]: wa() DEMO [3]: wa()
Current Positions (user, dial) Current Positions (user, dial)
calc_mot m1 calc_mot m1
...@@ -89,5 +89,6 @@ Current Positions (user, dial) ...@@ -89,5 +89,6 @@ Current Positions (user, dial)
![Screenshot](img/dial_user_ctrl.svg) ![Screenshot](img/dial_user_ctrl.svg)
!!! note !!! note
During step scans, real axes positions for calculated axes will be emitted as an additional acquisition During step scans, real axes positions for calculated axes will be emitted as an
channel of the motor master -- unless "emit_real_position" is set to False in the controller configuration additional acquisition channel of the motor master -- unless
"emit_real_position" is set to False in the controller configuration
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment