Added parameter guessing for diff data + start fitting 2d
This commit is contained in:
parent
71cb724b88
commit
64a7a6eb28
@ -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
640
Joschka/Fitting.ipynb
Normal file
File diff suppressed because one or more lines are too long
959
Joschka/Parameter guessing.ipynb
Normal file
959
Joschka/Parameter guessing.ipynb
Normal file
File diff suppressed because one or more lines are too long
802
Joschka/Parameter guessing_new_data.ipynb
Normal file
802
Joschka/Parameter guessing_new_data.ipynb
Normal file
File diff suppressed because one or more lines are too long
436
Joschka/Parameter_guessing_comp.ipynb
Normal file
436
Joschka/Parameter_guessing_comp.ipynb
Normal file
File diff suppressed because one or more lines are too long
1371
Joschka/fit_test_20230703.ipynb
Normal file
1371
Joschka/fit_test_20230703.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
Loading…
x
Reference in New Issue
Block a user