[INSTRM-1173] add dedicated IIC commands for SuNSS Created: 05/Feb/21  Updated: 16/Feb/21  Resolved: 16/Feb/21

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

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

Story Points: 2
Sprint: SM1PD-2021 A 2

 Description   

We'll a limited set of IIC command for SuNSS:
basically :

iic startSuNSSAcquisition exptime=...

In other words, take a scienceObject on the SM fed by SuNSS.

iic finishSuNSSAcquisition

Close the shutter(s) right away, create the file(ccd read) and return.

iic abortSuNSSAcquisition

Close the shutter(s) right away, trash the file and return.



 Comments   
Comment by cloomis [ 11/Feb/21 ]

One clarification:

The SuNSS acquisition sequence is identical to the regular SPS science acquisition sequence, just limited to the single SM: eek starts commanding N-minute science exposures until it is told to stop. The sunssActor only acts when the telescope starts guiding on a new field (or flat-field) and when it leaves the field. It just needs to be able to alert iic about those transitions.

See the step ("IIC SPS startExposures" and "IIC SPS finishExposure" steps, or whatever they end up being named) in https://github.com/Subaru-PFS/ics_iicActor/blob/master/docs/field_command.md – all the rest of that logic is taken care of outside of PFS, and the sunssActor detects when it has been.

Up to you how to wrap those. Could add an sm=sunss argument to the main startScienceExposures command (or whatever it is called), or add your proposed command.

For the ICC SPS finishField step from the field_command document, IIC needs to close the shutters immediately and optionally read out. Again, either tweak the main command or add your proposed one.

We will not need the proposed abort command, I don't think. iic is the actor which decides whether the running exposure is long enough to keep or not.

sunssActor will (we hope) be able to tell icc whether the exposure is a flat-field, i.e. iic expose scienceFlat sm=sunss, maybe.

Comment by arnaud.lefur [ 14/Feb/21 ]

OK when do you need this cloomis ?

Comment by cloomis [ 15/Feb/21 ]

Good question. Cable B is on the Fiber Monitoring System at the start of this week, but they do intend to switch to SPS "mid-week".

It is really not clear yet how well we can currently observe with SuNSS automatically. Even with a single instrument we expect to be "good" for us – HSC – different nights show different patterns and some patterns will require more knowledge. What I'd saying is that we do need at least startSuNSS exptime= and finishSuNSS, but might well need more later.

Comment by arnaud.lefur [ 16/Feb/21 ]

Those are now implemented :

iic sps startExposures exptime=..
iic sps finishExposure
iic scienceFlat exptime=..
Generated at Sat Feb 10 16:32:38 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.