Doc: changed theme (AT theme) and added draft how-to's from notebooks#61
Doc: changed theme (AT theme) and added draft how-to's from notebooks#61gubaidulinvadim merged 15 commits intomainfrom
Conversation
|
I've linked an issue to this merge request because I think after it's merged the issue will be mostly resolved. |
ok! I hope I will be able to make it work. |
|
So, at this stage, we can add in the documentation notebooks howto/examples. I have added 2 just as examples. I will do better. |
|
@simoneliuzzo the examples may need some correction. I've looked at the tune, for example, there you are missing the disable_6d() for the lattice. |
|
I've corrected the example. It is a bit uglier now. There's no function get_tune() on the level of a Simulator. You can use tune_monitor to get the tune in Simulator or Live mode. |
|
the notebooks are even disabled, in fact I did not run them! |
|
the example is supposed to run for live and design in the same way. SR.live.get_lattice().get_tune() exists? The point of the example was to show that the same scripts runs in simulation or live mode identical. |
|
No, the sr.live does not have an access to lattice. It is only set for sr.design. I've modified the example again to make it a bit prettier. I think you've copied some old script for the notebook. For the moment, without using a tune_monitor, you cannot get identical interface in design or live. Now in the example, you could replace .design -> .live everywhere and it should work on a real accelerator. |
|
I have modified again live_design switch to try to make it really do what we promise, work as MML, a simple switch makes the whole script work for live or simulations. The same example shows also the new feature: both modes are available at the same time if needed (in particular true for design) |
No description provided.