[INSTRM-1428] PfsDesign/pfsConfig viewer tool Created: 02/Nov/21  Updated: 08/Jul/22  Resolved: 08/Jul/22

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

Type: Task Priority: Normal
Reporter: hassan Assignee: michitaro
Resolution: Done Votes: 0
Labels: EngRun, visualization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File pfsDesignAlt.png    
Issue Links:
Relates
relates to DAMD-120 Add designName to pfsDesign header? Done
Story Points: 2
Sprint: PreEngRun06June
Reviewers: hassan

 Description   

It would be useful for observation planning purposes to be able to view the list of available plates at a given time.

So please provide a tool that lists at a given time the following information per plate:

  1. pfsDesignId
  2. designName (see PIPE2D-120)
  3. pfsConfigId
  4. telescope boresight ra and dec


 Comments   
Comment by rhl [ 02/Nov/21 ]

I think that we'd want it not just to be any time, but the plates available through the night, with some indication of when the can be observed. I could/should mock something up

Comment by rhl [ 15/Nov/21 ]

I added a routine showPfsDesign to pfs.utils.pfsDesignUtils that will be OK for now.  It produces plots like 

Comment by hassan [ 15/Nov/21 ]

rhl has the routine been pushed to remote? I don't see any changes to pfs_utils on GitHub recently.

Comment by naoyuki.tamura [ 15/Nov/21 ]

Great. Perhaps it would be helpful if one can see designName in pfsDesign file header now?
Also, the plot exemplifies the designs with on sky targets but there are some design files purely for technically engineering purposes like moving Cobras nearby dots. So maybe if there is a simple table of design ID and designName etc as well as other things such as the visibility plot?

Comment by rhl [ 15/Nov/21 ]

I'd done a git push --set-upstream origin tickets/PIPE2D-947.  Is it not showing up (there's a link to the pull request on that ticket)

Comment by rhl [ 15/Nov/21 ]

Those "RHL" "NT" strings in my plot are the designName field.

Comment by rhl [ 15/Nov/21 ]

Anyway, this plot doesn't mean that we don't need this ticket.  It's part of the solution, and not a long-term one as I think something web-based would probably be better.

Comment by hassan [ 15/Nov/21 ]

I've just noticed the changes in the tickets/PIPE2D-947 branch, thanks.

Comment by michitaro [ 18/Nov/21 ]

Can I start to make this viewer as a subsection of obslog?

I'm not sure that the necessary pieces of information are already stored in the opdb database.

Comment by rhl [ 18/Nov/21 ]

Yes, of course.  I just wanted to put something together that might give you some ideas (and that we could use this run)

Comment by michitaro [ 18/Nov/21 ]

OK. Thanks!

Comment by hassan [ 02/Apr/22 ]

michitaro aims to look at this in the next 2-3 weeks.

Comment by michitaro [ 22/Apr/22 ]

rhl yuki.moritani I apologize for not understanding your comments at the meeting due to lack of background understanding.
Could you comment here again?

Comment by yuki.moritani [ 03/May/22 ]

Don't be sorry.. and I'm sorry for late response..
My request was that it will be nice to see the plots from the viewpoint of spectrograph modules. For example, when you select a given FoV, a figure can be seen (optionally) to show the target/calibration/sky objects distribute along the slits.

Comment by rhl [ 03/May/22 ]

I'm late too.

My request was to have a way to select a pfsConfigId from your tool – no-one should be typing SHAs. A "copy to clipboard" would be a start.

If you're showing pfsDesigns on hscMap, I'd rather show the PFI instrument as well as the objects being targeted. So the fields of the auto guiders as well as the stars selected. The cobra patrol regions and small symbols for the selected objects, rather than large symbols for the selected objects. In general there will be many overlapping designs, so I think I'd just provide an overview of the designs (maybe just the field-of-view) and a way to select which designs to show. Also a way to only select a subset of designs (e.g. ones that could be observed at a given time.

Comment by michitaro [ 11/May/22 ]

Thank you very much for the replies! I understood clearly.

Comment by yuki.moritani [ 08/Jul/22 ]

During June run, pfsDesign files were visualized on obslog.

Comment by hassan [ 08/Jul/22 ]

Closed based on previous comment - the tool was used successfully during the June Engineering Run.

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