[SIM2D-85] Provide tests for scenarios identifying fibers Created: 16/Aug/18  Updated: 27/Mar/21  Resolved: 27/Mar/21

Status: Done
Project: DRP 2-D Simulator
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: hassan Assignee: cloomis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Fibre simulation

 Description   

The simulator requires unit and integration tests in general. A specific set of scenarios provided by naoyuki.tamura in an email to H Siddiqui on 2018-08-13 and copied helps to focus such tests.

Unit and integration tests should be created for these scenarios.

[...] can you now tell which fiber spectrum on a simulated 2D image is from which fiber at which position on the telescope focal plane, with what input from the sky on it (e.g. sky only or object and sky), and can the pipeline correctly handle that set of information? Is the simulator ready to be given data of fiber-to-target allocation so that you can simulate spectra of astronomical objects from individual fibers?



 Comments   
Comment by price [ 12/Sep/19 ]

The simulator produces a detectorMap (which maps between x,y on the detector and fiberId,wavelength) and a pfsConfig (which maps between catId,objId and fiberId). We regularly use these features in the pipeline integration test, though because of the CPU power required to generate the simulated images, we use a static set of simulated images that needs to be updated manually rather than regenerating these images as part of the integration test.

The simulator can be given a pfsDesign file with the fiber-to-target allocation and will simulate spectra of astronomical objects. The simulated images for the integration test uses a set of galaxy spectra from Sean Johnson.

Comment by price [ 27/Mar/21 ]

I think we've satisfied the desire in the original e-mail.

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