Git Product home page Git Product logo

ndv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ndv's Issues

todo: add tests for cupy

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

bug: deal with issue when asynchronous data requests are no longer valid for the number of dimensions being displayed

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

bug: doesn't yet work with pyside6

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)

Feature: command line interface

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)

todo: do a better job determining the third axis

this code is a lil' silly:

# set the visibility of the last non-channel dimension
sizes = list(self._data_wrapper.sizes())
if self._channel_axis is not None:
sizes = [x for x in sizes if x != self._channel_axis]
if len(sizes) >= 3:
dim3 = sizes[-3]
self._dims_sliders.set_dimension_visible(dim3, True if ndim == 2 else False)

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.