Comments (14)
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.
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.
Definitely! I'll be right downstairs from you. BTW, I really like the notebooks that are linked to in README.md now.
from trackpy.
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.
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.
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.
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.
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.
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.
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.
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.
Nathan, is there anything else from your codebase or runtrackpy that belongs in trackpy proper? If not, we'll close this.
from trackpy.
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.
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)
- object has no attribute 'long_name' (when inspecting 'frame') HOT 2
- tp.emsd TypeError: mean() got an unexpected keyword argument 'level' HOT 7
- Working on a napari-trackpy plugin HOT 1
- TST: Weird dtype switching on Windows HOT 2
- link_df_iter giving TypeError when using pd.concat?
- level keyword argument was removed in pandas>2.0 HOT 1
- Release v0.6.2 HOT 5
- Tutorial shows problem using latest pandas HOT 2
- Linking using multiple HDF5 files. HOT 1
- Use pims.as_grey instead of image[:, :, 1] in walkthrough tutorial.
- Old Python version in installation instructions
- TST: Need to replace a GitHub action
- tp.batch does not perform batch correctly (all frames output as 0) HOT 3
- Error in trackpy.emsd() function: TypeError: mean() got an unexpected keyword argument 'level' HOT 5
- `plot_traj3d` throws error
- Locate only within specific ROI HOT 2
- [Question] methods for initial estimation of `minmass` HOT 1
- [Enhancement] Allowing possibility to convert raw image to `uint16`
- [Question] How to add optional arguments in after_locate function in tp.batch HOT 1
- Release v0.6.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trackpy.