[INSTRM-1571] Provide an API to display on-the-fly matplotlib figure Created: 06/Apr/22  Updated: 22/Apr/22  Resolved: 06/Apr/22

Status: Done
Project: Instrument control development
Component/s: ics_pfsPlotActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: arnaud.lefur Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-1585 Integrate dev_ics code with Arnaud's ... Done
Story Points: 4

 Description   

Basically provide GUI with an API to display matplotlib figure which are generated dynamically when a keyword is generated.



 Comments   
Comment by arnaud.lefur [ 06/Apr/22 ]

provided a working version with ccd overscan plot as an example.

Comment by arnaud.lefur [ 06/Apr/22 ]

cloomis chyan
I have a first working version.
All you have to do to get your own plot is to create a class in pfsPlotActor.plots which inherit from livePlot.LivePlot.
The rest should be all automatic.
I've added an example with CcdOverscan which generate a figure when a new exposure is taken.
There are basically three methods(initialize, identify, plot) that should be overridden.
Please take a look at the example and let me know if something is unclear.

Comment by arnaud.lefur [ 15/Apr/22 ]

chyan karr
ics_pfsPlotActor

Generated at Sat Feb 10 16:36:58 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.