Giter VIP home page Giter VIP logo

kafe's People

Contributors

dsavoiu avatar guenterquast avatar joergschindler avatar mowa-lepota avatar smartsammler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kafe's Issues

Please refer to kafe2

Hello,

The README and documentation do not state that kafe2 has been released or where to find it. This is misleading for new users who may inadvertently land on this project (or it's documentation) instead of the kafe2 project (https://github.com/dsavoiu/kafe2) and are looking for ways to install it.

I would appreciate it, if you could please update the docs so that it is clear there's an improved alternative to this repo that works with current python versions.

error running in jupyter notebook

Dear developer,

Thank you for providing such a good tool. I like it very much. However, when I running it on the Jupyter Notebook, I met with the following errors:

---------------------------------------------------------------------------
UnsupportedOperation                      Traceback (most recent call last)
<ipython-input-3-126afbba2fd9> in <module>()
     34 #contour2.savefig('kafe_example0_contour2.pdf')
     35 #contour3.savefig('kafe_example0_contour3.pdf')
---> 36 profile=my_fit.plot_profile(2)
     37 #profile.savefig('kafe_example0_profile.pdf')
     38 

/home/jialing/anaconda3/lib/python3.5/site-packages/kafe-1.3.0-py3.5.egg/kafe/fit.py in plot_profile(self, parid, n_points, color, alpha, show, axes)
   1360         # tmp_ax.scatter(xval, yval, marker='+', label='parameter values')
   1361         # get profile
-> 1362         xp, yp = self.minimizer.get_profile(id, n_points)
   1363         self.profiles.append([id, xp, yp])  # store this result
   1364         # plot (smoothed) profile

/home/jialing/anaconda3/lib/python3.5/site-packages/kafe-1.3.0-py3.5.egg/kafe/iminuit_wrapper.py in get_profile(self, parameter, n_points)
    522 
    523         # save the old stdout stream
--> 524         old_out_stream = os.dup(sys.stdout.fileno())
    525         os.dup2(self.out_file.fileno(), sys.stdout.fileno())
    526 

/project/lgrandi/anaconda3/envs/pax_head/lib/python3.4/site-packages/ipykernel/iostream.py in fileno(self)
    357 
    358     def fileno(self):
--> 359         raise UnsupportedOperation("IOStream has no fileno.")
    360 
    361     def write(self, string):

UnsupportedOperation: IOStream has no fileno.

If I commented it out, everything is fine, do you know how to avoid this and is it necessary to keep it in the file?

Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.