finesse.knm.maps.Map.remove_curvatures¶
- Map.remove_curvatures(self, double spot_size: float, unicode mode: str = u'average', model=None)¶
Removes average weighted quadratic terms from the OPD map data. To get the value of the quadratic term being removed use
get_quadratic_terms()
before calling this. If put_focal_length has been set then calling this method will put the removed curvatures into the parameter put_focal_length.- Parameters:
- spot_sizefloat
spot size to use for weighting during curvature removal
- modestr
Different options for curvatures removal are available
“average” : removes average of x and y curvatures
“astigmatic” : removes astigmatic x and y curvatures
- model
Model
If put_focal_length has been set then it can be used against a specific model object. If None it will use the model of the element provided.
- Returns:
- ax, ayfloat
Quadratic coefficients in the x and y direction. Same as returned by
get_quadratic_terms()
.