@@ -135,7 +135,7 @@ def coupling_via_cmatrix(df: DataFrame, complex_columns: bool = True,
135135
136136def rmatrix_from_coupling (df : DataFrame , complex_columns : bool = True ) -> DataFrame :
137137 """Calculates the R-matrix from a DataFrame containing the coupling columns
138- as well as alpha and beta columns. This is the inverse of
138+ as well as alpha and beta columns. This is the inverse of
139139 :func:`optics_functions.coupling.coupling_via_cmatrix`.
140140 See [CalagaBetatronCoupling2005]_ .
141141
@@ -349,7 +349,7 @@ def _get_weights_from_lengths(df: TfsDataFrame) -> Tuple[float, np.array]:
349349
350350
351351def check_resonance_relation (df : DataFrame , to_nan : bool = False ) -> DataFrame :
352- """Checks that |F1001| >= |F1010|.
352+ """Checks that \ |F1001| >= \ |F1010|.
353353 If desired, sets the invalid points to NaN. This is only used for checking
354354 in the :func:`~optics_functions.coupling.closest_tune_approach` function,
355355 but can be invoked by the user with ``to_nan = True`` and the resulting
@@ -358,7 +358,7 @@ def check_resonance_relation(df: DataFrame, to_nan: bool = False) -> DataFrame:
358358
359359 Args:
360360 df (DataFrame): Dataframe containing the coupling columns.
361- to_nan (bool): If true, sets values where |F1001| <= |F1010| to ``NaN``.
361+ to_nan (bool): If true, sets values where \ |F1001| <= \ |F1010| to ``NaN``.
362362
363363 Returns:
364364 A copy of the input data frame, with or without NaNs.
0 commit comments