Giter VIP home page Giter VIP logo

Comments (14)

nkeim avatar nkeim commented on September 2, 2024

Dan, it was great to meet you yesterday and I'm very excited about this merge.

As I said, I seem to recall that switching to cKDTree was more of a "point of no return" in terms of making a merge difficult. It's good that that switch can make a big difference in performance, at least for some users. The actual numba components are wrapped to make them work more or less like the pure-Python versions.

Please let me know if you get stuck! Thanks - nathan

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

Yes, I'm glad we ran into each other, and I am sorry I had to depart early. I am collaborating with the Stebe lab and visiting every week or two -- I'll get in touch before my next trip up there and see if we can chat for awhile.

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

Definitely! I'll be right downstairs from you. BTW, I really like the notebooks that are linked to in README.md now.

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

Thanks. I have looked over your efforts along the same lines, and I like that we are using pandas in the same way. Are many others in your group using trackpy and your related projects? The documentation looks thorough.

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

I'm glad you think so! Yes, trackpy and runtrackpy are used by a couple other people here; Python has pretty much taken over as the default environment. And pandas has changed lives here :). I don't know of anyone else using philatracks heavily except for g(r), but it is a bit more specialized.

I think we agree that it's really important to make the out-of-the-box experience as fun and easy as possible for this software. I wonder if we ultimately want to make trivial datasets available as part of the tutorial. For example, a short video of flow in a microchannel with tracer particles.

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

Sounds great. There is a trackpy/tests/water/bulk-water.mov but it's not very pretty. A variety of short, small videos would be neat. Do have one or two you could add? Say, trackpy/examples/video? Ultimately something like import trackpy.examples.sample_features would be cool too.

Be advised that your branch of trackpy predates an important fix of the memory feature from awhile back. See the associated test for an explanation of what was coming out wrong. You did merge an earlier fix, also related to memory, but the second one arrived after you latest commit.

from trackpy.

tacaswell avatar tacaswell commented on September 2, 2024

I would be wary of loading the repo up with large binary files. It can be pretty awful on slow connections as it is.

It might be worth splitting the demonstration work/template notebook off into a separate repo (trackpy-demo).

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

Good catch. AFAIK no one is relying on memory support in my fork, but that's bad. I think that there is no point in backporting the fix; I should put that effort into helping complete the merge and updating runtrackpy.

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

Agreed, Tom. I was thinking that the videos could be hosted on someone's group's website. But a separate repo for the movies and the tutorial notebooks could be even better.

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

Sounds good. IPython-style tutorials can also be written into sphinx (a la the pandas docs) but I think self-contained tutorial notebooks might be more useful, especially if they come with videos.

ReadTheDocs is up and running, btw.

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

The numba-accelerated subnet linker is now merged, at nkeim/trackpy@e4e5106 . The numba subnet code passes the standard tests, and the whole thing also works in an environment without numba installed. Note that as with KDTree, numba is not the default strategy in this version.

Before I make a pull request, I'd still like to try it on some real data, and get some sense of the performance improvement.

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

Nathan, is there anything else from your codebase or runtrackpy that belongs in trackpy proper? If not, we'll close this.

from trackpy.

nkeim avatar nkeim commented on September 2, 2024

Nothing else to add!

As far as superseding runtrackpy is concerned: is your link_on_disk.py in good working order? (That was the whole genesis of runtrackpy in the first place.)

Thanks!!

from trackpy.

danielballan avatar danielballan commented on September 2, 2024

It works on mr. I have to do some minor things to make it work on trackpy, mostly removing unnecessary code. I'll fix it and document it tonight.

from trackpy.

Related Issues (20)

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.