finished adding rotation
This commit is contained in:
parent
d26039153b
commit
e6e20a8ae3
@ -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')
|
||||
|
843
Analyser/Joschka/20230630_Data_Analysis copy.ipynb
Normal file
843
Analyser/Joschka/20230630_Data_Analysis copy.ipynb
Normal file
File diff suppressed because one or more lines are too long
1236
Analyser/Joschka/test_rotation.ipynb
Normal file
1236
Analyser/Joschka/test_rotation.ipynb
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user