We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading old ICs (from scanparams) in ChaNGa gives the following error:
IC = diskpy.ICgen.load('IC.p') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-59-3eace429ef52> in <module>() ----> 1 IC = diskpy.ICgen.load('IC.p') /usr/lusers/ibackus/diskpy/diskpy/ICgen/ICgen.pyc in load(filename) 328 329 CDF = input_dict['CDF'] --> 330 ICobj = IC(r, sigma, CDF) 331 332 else: /usr/lusers/ibackus/diskpy/diskpy/ICgen/ICgen.pyc in __init__(self, r, sigma, CDF, profile_kind, settings) 117 if (r is not None) or (profile_kind is not None): 118 --> 119 self.maker.sigma_gen(r, sigma, CDF) 120 121 # Define a saving function /usr/lusers/ibackus/diskpy/diskpy/ICgen/ICgen.pyc in sigma_gen(self, r, sigma, CDF) 495 r, sigma = sigma_profile.make_profile(self._parent) 496 --> 497 sigma = make_sigma.sigma_gen(r, sigma, CDF) 498 # Copy sigma to the parent (IC) object 499 self._parent.sigma = sigma /usr/lusers/ibackus/diskpy/diskpy/ICgen/make_sigma.pyc in __init__(self, r_bins, sigmaBinned, CDF) 50 51 self.input_dict = {'r': r_bins, 'sigma': sigmaBinned} ---> 52 self._make_sigma(r_bins, sigmaBinned) 53 self._make_pdf() 54 self._make_cdf_inv(CDF) /usr/lusers/ibackus/diskpy/diskpy/ICgen/make_sigma.pyc in _make_sigma(self, r_bins, sigmaBinned) 81 r_bins = match_units(r_bins, 'au')[0] 82 # Calculate spline interpolation ---> 83 sigspline = spline(r_bins, sigmaBinned, k=3, ext='zeros') 84 # print 'Calculating spline interpolation (slow for many data points)' 85 # sigspline = interp1d(r_bins,sigmaBinned,kind='cubic',fill_value=0.0,\ TypeError: __init__() got an unexpected keyword argument 'ext'
The text was updated successfully, but these errors were encountered:
Merge pull request #6 from dflemin3/binary
0cc7e9e
Binary -> master
No branches or pull requests
Loading old ICs (from scanparams) in ChaNGa gives the following error:
The text was updated successfully, but these errors were encountered: