Coder Social home page Coder Social logo

kgord831 / pyimagetool Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 13.05 MB

Python Image Tool for visualizing multidimensional data. Applications include analysis of data in microscopy (STM, SSM, optics), ARPES, XRD, or other multidimensional datasets on regularly gridded coordinates.

License: GNU General Public License v3.0

Python 98.53% Jupyter Notebook 1.47%
multidimensional-data data-visualization python-image pyqtgraph python arpes microscopy image-analysis image-viewer image-manipulation

pyimagetool's Issues

Please clarify licence

The LICENSE file (GPL-3) and setup.py (Expat) disagree on the license of PyImageTool.

Please clarify & update setup.py or LICENSE accordingly.

Thanks.

Cannot use numpy==1.19.4 on Windows 10 with pip

PyImageTool is not well future-proofed because you must install numpy==1.19.4 with Anaconda on Windows 10. When numpy==1.19.4 works on Windows 10, the requirements in setup.py need to be updated.

BUG: Debian bookworm/Ubuntu 22/23: AttributeError: type object 'Qt' has no attribute 'DashLine'

Hi,
it seems this code, which did run OK on debian bullseye/Ubuntu20/22, is now broken. Indeed, PySide2 calls the Qt6 API which as recently changed its API.

  • jupyter-notebook /usr/share/pyimagetool/examples/ExampleNotebook.ipynb

This brings an error:

File /usr/lib/python3/dist-packages/pyimagetool/PGImageTool.py:24, in PGImageTool()
     22 index_to_coord: List[str] = ['x', 'y', 'z', 't']
     23 frame_rate = 60
---> 24 bin_pen = pg.mkPen(style=pg.Qt.QtCore.Qt.DashLine)
     26 mouse_hover = QtCore.Signal(str)  # event fired when the mouse moves on an image
     28 def __init__(self, data: RegularDataArray, parent=None, layout=0):

AttributeError: type object 'Qt' has no attribute 'DashLine'

In case you still maintain this code, is there a hope to adapt it to recent QT API's ?
Thanks.

Bug on first Jupyter Notebook window

When you first show an ImageTool in a fresh Jupyter Notebook kernel, the cursors do not follow the mouse when holding shift. A workaround is to create the ImageTool a second time. All ImageTools created after the first work well.

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.