lsst.afw.table.AmpInfoTable and building the detector files

Tags: #<Tag:0x00007fb3884f2ca0> #<Tag:0x00007fb3884f2818>


I am trying to build the fits files to describe the ccds for the obs_vista package. I am modifying the example script from obs_goto. This is throwing the following error:

"AttributeError: module 'lsst.afw.table' has no attribute 'AmpInfoTable'"

Which is also thrown if I try to import AmpInfoTable anywhere. Has this class been deprecated or moved to another location? It appears to be a class in

Perhaps there is a more up to date example script for making the camera files? obs_subaru doesn’t appear to have such a script on GitHub.

Many thanks,


I believe it’s now recommended to use yamlCamera.makeCamera():

You might want to take a look at that.

(Also note: I do not recommend trying to understand or emulate

Great thanks.