def update_features(self, poly):
        """Evaluate wavelength at xpos using the provided polynomial."""

        for feature in self.features:
            feature.wavelength = poly(feature.xpos)
def update_features ( self , poly ) : for feature in self . features : feature . wavelength = poly ( feature . xpos )
Evaluate wavelength at xpos using the provided polynomial.