Aberrations simulation support : from twisted to PyTango#67
Aberrations simulation support : from twisted to PyTango#67utkarshp1161 merged 7 commits intomainfrom
Conversation
|
A few things I would overhaul before merging there should be no _sim functions (such as set_aberrations_coeff_sim and get_scanned_image_with_aberrations) to fix this, just the _get_scanned_image function in ThermoMicroscope does not change |
|
Now that you have implemented the ceos communication this should all be easier to do. |
I see two caveat's to it. asyncroscopy/asyncroscopy/hardware/CORRECTOR.py Lines 136 to 150 in 4ceef8c b) The tableau acquired from the corrector has different enteries(even across different type: enhanced, fast) than from one we get from the simulation:
|
|
Since, this needs more thought about how to go about attributes. Merging this for now as it doesn't break other features and tests. |
Discussed in this issue: #66
What is done:
asyncroscopy/asyncroscopy/hardware/CORRECTOR.py
Line 185 in 11b422a
asyncroscopy/asyncroscopy/hardware/CORRECTOR.py
Line 190 in 11b422a
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Line 146 in 11b422a
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Line 194 in 11b422a
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Lines 173 to 174 in 11b422a
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Line 100 in 11b422a
Maybe future:
A) The image simulation returns a fixed (905,905) image:
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Lines 194 to 231 in 11b422a
B) The simulation related to nanoparticles
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Line 233 in 11b422a
C) Call CORRECTOR's all other commands through microscope as illustrated here for this case
asyncroscopy/asyncroscopy/ThermoDigitalTwin.py
Lines 173 to 174 in 11b422a