Comments (3)
It should default to 'None' and the engine does what is fastest for it?
from trackpy.
@nkeim and I are both finding filter_before
slower in every case, even with numba off, which is a surprise to me. I am sure you can concoct a case where filter_before
is worthwhile, but I'm not sure how rare/strange that data would have to be.
I like your idea of making None
the default going forward. For now, we might have None
become False
internally for every case. If and when we learn more about how to optimize, how to recognize cases where True
runs faster, we can make the internal logic of locate
smarter without changing the API.
from trackpy.
Yes, that is the idea. There is a push to change most of the defaults in mpl to None
for this exact reason.
It also enables you to tell if the user said 'do the default thing' or 'do the same thing as the default'
from trackpy.
Related Issues (20)
- link_strategy explanation HOT 2
- Feature request: Filter tracks by x or y displacement HOT 4
- Confidance evaluation of the tracking HOT 3
- trackpy.motion.diagonal_size
- 'size' and 'ep' not given per dimension if diameter is the same in all dimensions
- Release v0.6.0 and v0.6.1 HOT 2
- Can you use trackpy in cases when local position is not as important as shape of objects? HOT 1
- Using trackpy.batch() on bioformats images in parallel
- Trackpy.link search range and memory
- Error in eccentricity calculation
- How do you save the images TrackPy creates for reports HOT 5
- pandas 2.0 breaks emsd calculation HOT 2
- Is the particle size squared a suitable measure of area?
- The number of trajectories is different from the number of unique particle IDs HOT 2
- Detector based on the sqrt Airy disk function to localize iSCAT PSFs
- Pandas ValueError when calling subtract_drift HOT 1
- How to find number of pixels in blob
- 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
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.