vidarsko/ComFiT

Remove calc_gaussian_stirring_potential from BoseEinsteinCondensate.py

Opened this issue · 3 comments

There is already a calc_Gaussian function in the base_system_calc file. COmputing it twice is redundant.

Do you suggest removing it completely or just make it cal the function in the base_system_calc file?

I think we should remove it completely and replace all instances where it is called by calling the corresponding function in the base_system class.

Careful when changing though. The width kwarg in bs.calc_Gaussian is not exactly the same as the size kwarg in calc_gaussian_stirring_potential