pyapp-kit / ndv Goto Github PK
View Code? Open in Web Editor NEWSimple, fast-loading, n-dimensional array viewer with minimal dependencies.
License: BSD 3-Clause "New" or "Revised" License
Simple, fast-loading, n-dimensional array viewer with minimal dependencies.
License: BSD 3-Clause "New" or "Revised" License
skipped windows testing at first due to a minor annoyance. should be easy, just need to do it
double clicking on a slider label converts it to a slice slider:
currently, the hard-coded behavior is to reduce extra remaining dimensions via max()
.
Line 474 in 2e2b53f
this should be configurable (on a per-axis basis?)
when you change the number of displayed dimensions, or the channel mode, all colormap associations are currently lost. what a bummer! ๐
haven't actually tested cupy... probably needs a very thin wrapper. would be nice to test it on CI but likely requires a self-hosted runner
in #15 I added the line
if not data.ndim == self._ndim:
warnings.warn(
f"Got wrong number of dimensions ({data.ndim}) for vispy "
f"visual of type {type(self._visual)}.",
stacklevel=2,
)
return
to the vispy image handle... but I suspect it's indicative of something that needs to be handled higher up, in the stack viewer itself, essentially invalidating any requests for data that were sent out before a user clicked the change ndim button
known issue, sliders don't work, and there are segfaults... not sure whether this is an ndv issue or a superqt issue (pyside6 has been problematic recently, but even going back to 6.5 it doesn't work)
use case:
ndv view file.ext
ideally, will support as many file types as possible, via some set of plugins... to be determined how to install (without taking on all the deps up front)
give user control over which axes are being visualized
once #10 is done, ortho viewer should use the same mechanism
this code is a lil' silly:
Lines 341 to 347 in 7b6e48a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.