[INSTRM-1963] Excluding UNASSIGNED fibers in convergence plot Created: 30/Apr/23  Updated: 01/Jun/23  Resolved: 01/Jun/23

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

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

Attachments: PNG File Figure 1-5.png     File INSTRM-1963.ipynb    
Sprint: Eng12July

 Description   

The pfsConfig file has the field to get the unassigned fibers of each convergence run. The convergence plot should address this change.

from pfs.datamodel.pfsConfig import * 

filepath = '/data/raw/2023-04-27/pfsConfig/pfsConfig-0x15adaf923f34fb55-092024.fits'
pfsConfig = PfsConfig._readImpl(filepath)
assigned = pfsConfig[~np.isin(pfsConfig.targetType, [TargetType.UNASSIGNED, TargetType.ENGINEERING, TargetType.BLACKSPOT])]


 Comments   
Comment by chyan [ 01/Jun/23 ]

Fix implemented, close ticket.

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