Closed yiran25 closed 6 months ago
https://github.com/znamlab/cottage_analysis/blob/67ec4cc2aa9b1cefaefc008c7e8bd5ea12bfea35/cottage_analysis/analysis/fit_gaussian_blob.py#L350C5-L350C21
refactor to make function more concise. keep input of all models the same.
add wrapper function for gaussian_1d to select whether to fit OF or ratio model. use model string to directly call wrapper function using globals() save min_sigma in neurons_df
globals()
done
https://github.com/znamlab/cottage_analysis/blob/67ec4cc2aa9b1cefaefc008c7e8bd5ea12bfea35/cottage_analysis/analysis/fit_gaussian_blob.py#L350C5-L350C21
refactor to make function more concise. keep input of all models the same.