Added parameter guessing for diff data + start fitting 2d

This commit is contained in:
Joschka 2023-07-20 10:19:32 +02:00
parent 71cb724b88
commit 64a7a6eb28
7 changed files with 4210 additions and 2096 deletions

View File

@ -89,7 +89,7 @@ def ThomasFermi_2d(x, y=0.0, centerx=0.0, centery=0.0, amplitude=1.0, sigmax=1.0
def polylog(power, numerator):
order = 20
order = 2
dataShape = numerator.shape
numerator = np.tile(numerator, (order, 1))
@ -111,7 +111,7 @@ def polylog2_2d(x, y=0.0, centerx=0.0, centery=0.0, amplitude=1.0, sigmax=1.0, s
def density_profile_BEC_2d(x, y=0.0, BEC_amplitude=1.0, thermal_amplitude=1.0, BEC_centerx=0.0, BEC_centery=0.0, thermal_centerx=0.0, thermal_centery=0.0,
BEC_sigmax=1.0, BEC_sigmay=1.0, thermal_sigmax=1.0, thermal_sigmay=1.0):
return ThomasFermi_2d(x=x, y=y, centerx=BEC_centerx, centery=BEC_centery,
amplitude=BEC_amplitude, sigmax=BEC_sigmax, sigmay=BEC_sigmay
) + polylog2_2d(x=x, y=y, centerx=thermal_centerx, centery=thermal_centery,

640
Joschka/Fitting.ipynb Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long