Rename gauss psf from_fits
@@ -108,10 +108,10 @@ class EnergyDependentMultiGaussPSF:
File name
"""
with fits.open(str(make_path(filename)), memmap=False) as hdulist:
- return cls.from_fits(hdulist[hdu])
+ return cls.from_table_hdu(hdulist[hdu])
@classmethod
- def from_fits(cls, hdu):
+ def from_table_hdu(cls, hdu):
"""Create `EnergyDependentMultiGaussPSF` from HDU list.
Parameters
