Locate Nano Particles
What is this
nplocate is a custom script I wrote to locate very tiny particles from a confocal image. These images often suffered from extreme influences of the PSF, even after very detailed and completed deconvolution procedures.
To squeeze a bit more information out of these highly distorted data, I wrote this code to effectly "fit" the entire 3D image. This is done in a quite sloopy way. For a perfect fit, please take a look at the very well crafted peri project.
The idea
This is not a fully functional particle tracking package like trackpy or colloids or peri. Instead, think of nplocate as an extension of current tracking packages.
The logic behind the code is quite simple. The arguments are,
- It is easy to find some particles, even in a highly distorted image.
- If we know the locations of some particles ({r}), we can measure their average shape (S).
- With {r} and S, we can simulate a "fake image"
- We can find previously unfound particles in the difference between the real image and fake image.
- The more particles we have, the merrier.
Installing the code
The simplest way is
pip install nplocate
You can also download this repository, and use the following command to install the code
pip install .
Using the code
There are some notebooks in the folder example that introduced how to use this package, along with trackpy.
Cite the code
Just tell people you used trackpy
Metadata
Release files for nplocate 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nplocate-0.2.7.tar.gz | 165.3 kB | Without provenance | Details for nplocate-0.2.7.tar.gz |
Release files / nplocate-0.2.7.tar.gz
| Download URL | nplocate-0.2.7.tar.gz |
|---|---|
| Size | 165.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
620dbd53dd924d51ca723c9767c125bee9bc20ce514682bbf9d610378492df0e
|
|
BLAKE2b-256 checksum How to use checksums |
1ebd09298546696d945a7dddf9343e47a24d27fe059242bc1e1850aa21498cda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7
|
Security for nplocate 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.