Skip to content

Commit

Permalink
Fixed interpolation directory
Browse files Browse the repository at this point in the history
interp_fwhm removed
  • Loading branch information
thallor1 committed Feb 4, 2025
1 parent c26f6c4 commit 9606e25
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 85 deletions.
111 changes: 27 additions & 84 deletions docs/source/notebooks/MACS_User_notebook.ipynb

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyMACS/virtualMACS.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ def load_res_fwhm_interp_objects(self):
:return: interp_dQx, interp_dQz, interp_dE, scipy.interpolate.RegularGridInterpolator obejcts that return the macs Bragg widhths in the respective directions for arbitrary h,k,l,E, for the Ef=3.7 or Ef=5.0 settings.
:rtype: scipy.interpolate.RegularGridInterpolator, scipy.interpolate.RegularGridInterpolator, scipy.interpolate.RegularGridInterpolator
"""
interp_dir = str(files("pyMACS")) + '/scripting/interp_fwhm/'
interp_dir = str(files("pyMACS")) + '/scripting/'
if np.min(np.abs(np.array([5.0,3.7])-self.kidney.Ef))>0.1:
#Check if the instrumental configruation is valid.
print("Macs Ef hasn't been tabulated. Use Ef=3.7 or Ef=5.0")
Expand Down

0 comments on commit 9606e25

Please sign in to comment.