From de28d00e456f9b40bef2a4383755b4f878ec2f29 Mon Sep 17 00:00:00 2001 From: vsnever Date: Tue, 6 Aug 2024 15:07:08 +0200 Subject: [PATCH] Add r prefix to the docstring of the SeldenMatobaThomsonSpectrum model --- cherab/core/model/laser/model.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cherab/core/model/laser/model.pyx b/cherab/core/model/laser/model.pyx index dfd10712..5c78a055 100644 --- a/cherab/core/model/laser/model.pyx +++ b/cherab/core/model/laser/model.pyx @@ -30,7 +30,7 @@ from cherab.core.utility.constants cimport SPEED_OF_LIGHT, ELECTRON_CLASSICAL_RA cdef class SeldenMatobaThomsonSpectrum(LaserModel): - """ + r""" Thomson Scattering based on Selden-Matoba. The class calculates Thomson scattering of the laser to the spectrum. The model of the scattered spectrum used is based on @@ -38,7 +38,7 @@ cdef class SeldenMatobaThomsonSpectrum(LaserModel): of the scattered laser light c is calculated as a sum of contributions of all laser wavelengths .. math:: - c(\\lambda) = c r_e^2 n_e cos^2\\theta \\sum_{\\lambda_L} \\frac{E_L(\\lambda_l) S(\\frac{\\lambda}{\\lambda_L} - 1, \\varphi, T_e)}{\\lambda_L}, + c(\lambda) = c r_e^2 n_e cos^2\\theta \\sum_{\\lambda_L} \\frac{E_L(\\lambda_l) S(\\frac{\\lambda}{\\lambda_L} - 1, \\varphi, T_e)}{\\lambda_L}, where :math:`\\lambda` is the spectrum's wavelength, :math:`r_e` is the classical electron radius, :math:`n_e` is the electron delsity,