readPhoSimSettingData

lsst.ts.wep.utils.readPhoSimSettingData(folderPath, fileName, atype)

Read the PhoSim setting data (segmentation or focal plane layout).

Parameters:
folderPathstr

Path to folder.

fileNamestr

File name (“segmentation.txt”, “focalplanelayout.txt”).

atypestr

Type of data to read (“readOutDim”, “darkCurrent”, “fieldCenter”, “eulerRot”).

Returns:
dict

Needed CCD data.

Raises:
ValueError

File can not be read.

ValueError

Type is not correct.