finished adding rotation

This commit is contained in:
Joschka 2023-09-14 14:13:49 +02:00
parent d26039153b
commit e6e20a8ae3
3 changed files with 2081 additions and 1 deletions

View File

@ -27,6 +27,7 @@ from scipy.special import wofz
from scipy.optimize import curve_fit
from scipy.interpolate import CubicSpline
from scipy.ndimage import gaussian_filter, rotate
import scipy.constants as const
import xarray as xr
@ -417,7 +418,7 @@ class DensityProfileBEC2dModel(lmfit.Model):
self.set_param_hint('sigmay_bec', min=0)
self.set_param_hint('sigma_th', min=0)
self.set_param_hint('rot_angle', min=0, max=360)
self.set_param_hint('rot_angle', min=-90, max=90)
self.set_param_hint('atom_number_bec', expr=f'{self.prefix}amp_bec / 5 * 2 * 3.14159265359 * {self.prefix}sigmax_bec * {self.prefix}sigmay_bec')
self.set_param_hint('atom_number_th', expr=f'{self.prefix}amp_th * 2 * 3.14159265359 * 1.20206 / 1.643 * {self.prefix}sigma_th * {self.prefix}sigma_th')

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long