mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#pyqtgraph

0 Beiträge0 Beteiligte0 Beiträge heute
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p><a href="https://hachyderm.io/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> is critical, but I don't think in pictures, I think in spatial relations and movement (is this an <a href="https://hachyderm.io/tags/adhd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>adhd</span></a> thing?)</p><p>Movement happens in time and you usually want to viz the time axis all at once, so I've trained myself to turn "$variable vs t" into mental motion</p><p>Other times you need an interactive <a href="https://hachyderm.io/tags/ux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ux</span></a> and that usually means 3D</p><p>I love love love <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> for <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> plotting but they will be the first to tell you the 3D needs some love</p><p>My punfully-named work project has proved to be a hit[1] and I managed to get an 30y-experienced <a href="https://hachyderm.io/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://hachyderm.io/tags/developer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developer</span></a> *with an <a href="https://hachyderm.io/tags/astronomy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>astronomy</span></a> degree* assigned to it. (This is a <a href="https://hachyderm.io/tags/space" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>space</span></a> application)</p><p>She agreed that the 3D portion was neat but hard to use. She found <a href="https://hachyderm.io/tags/vtk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vtk</span></a>, which seems to be the perfect partner because it does 3D really well, stays out of 2D and has a <a href="https://hachyderm.io/tags/pyqt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqt</span></a> connector.</p><p>I just worked through a tutorial and, yeah, this could be a huge breakthrough in my viz apps.</p><p>[1]They think they want to change the pun name but they are wrong. An unforgettable name is money in the bank.</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>Prompt: Black on black.</p><p>(I deliberately skipped Prompt 3, "Exactly 42 lines of code." which seemed both too constricting and not constricting enough.)</p><p><a href="https://hachyderm.io/tags/genuary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary</span></a> <a href="https://hachyderm.io/tags/genuary2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary2025</span></a> <a href="https://hachyderm.io/tags/genuary4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary4</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a></p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p><a href="https://hachyderm.io/tags/genuary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary</span></a> </p><p>Layers upon layers upon layers.</p><p>I still like the basic idea here, but I couldn't make it work on multiple levels (how ironic).</p><p>I spent several hours trying to understand how color compositing works in general and in <a href="https://hachyderm.io/tags/qt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>qt</span></a> in particular. I kind of got something fragile sort-of working.</p><p>When I gave up on Making It Perfect, I realized that looping a blizzard is unlikely to work. </p><p>Welp. This is a <a href="https://hachyderm.io/tags/learning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>learning</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> project anyway and that goal was accomplished.</p><p><a href="https://hachyderm.io/tags/genuary2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary2025</span></a> <a href="https://hachyderm.io/tags/genuary2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary2</span></a></p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>So. I want to <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> plot some colored items with medium alphas and then overlap them to produce the usual kindergarten color wheel results.</p><p>But it turns out that <a href="https://hachyderm.io/tags/pyqt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqt</span></a> only supports compositing in the RGB <a href="https://hachyderm.io/tags/color" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>color</span></a> space.</p><p>In fact, the Wikipedia article makes it sound like alpha blending is only even *defined* for RGB. Which I guess makes sense for speed reasons, but I'd still expect some way to put in a callback or whatever for a custom mode.</p><p>I guess what I'll do it do all the HSV and compositing work in a <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/numpy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>numpy</span></a> array and the convert to an RGB image and display it that way...?</p><p>Unless there's a better idea?</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>It's February 1 and you know what that means!</p><p><a href="https://hachyderm.io/tags/GENUARY" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GENUARY</span></a>!! </p><p>This is my first ever entry. Prompt is "Vertical or horizontal lines only."</p><p><a href="https://hachyderm.io/tags/genuary2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary2025</span></a> <a href="https://hachyderm.io/tags/genuary1" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genuary1</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a></p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>ooooookaaaayyyyy!!!</p><p>Got the ticks <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> working for "numbers" and "angles" (where the difference is what constitutes a "nice" value)</p><p>Just now made a <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> with 4 subplots. Two default axes, two custom axes using "my" <a href="https://hachyderm.io/tags/algorithm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>algorithm</span></a> for tick generation, one for "numbers" and one for "angles".</p><p>Very, very reasonable behavior! (bottom row is custom ticks) (I know radians are still technically angles, but that's not the point)(I just realized I should have called that feature "degrees" not "angles")</p><p>One potential upgrade is to compute something for minor ticks. How do I....oh, those are probably the next lower mantissa! Except for snow removal I have nothing else to do today, so....</p>
Ogi<p><span class="h-card" translate="no"><a href="https://ciberlandia.pt/@villares" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>villares</span></a></span> if you’re wanting live plot updates that’s sort of <a href="https://hachyderm.io/tags/PyQtGraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyQtGraph</span></a> ‘s thing. I will freely admit that pyqtgraph does not have the plotting customization that matplotlib does but it’s very straight forward to integrate into a Qt application.</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>W H E W i finally did it</p><p> - created my own polar graph in <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> </p><p> - created a subclass that maps azimuth to theta (easy) and elevation to R (not hard, but not necessarily obvious for stereographic projection)</p><p> - used that to re-implement the faulty graph I made like....6 years ago? also had to find and rewrite a bunch of code to use a great-circle distance from a point rather than azimuth/elevation ranges <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/space" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>space</span></a> <a href="https://hachyderm.io/tags/math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>math</span></a> </p><p>The original toot in this chain is from 1/3, so that's exactly two weeks of A B S O L U T E P A N I C on my part</p><p>I mean, it was my bug. And it's kind of a dumb bug. And it has been keeping me from my regular <a href="https://hachyderm.io/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> and also from doing a good job as a <a href="https://hachyderm.io/tags/mentor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mentor</span></a> for the super-fresh new-hire</p><p>But it's really <a href="https://hachyderm.io/tags/adhd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>adhd</span></a> <a href="https://hachyderm.io/tags/rsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rsd</span></a> perfectionism/terror that drove me for these two weeks. I could barely think straight. I should probably note this at my adhd evaluation on 1/30.</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p>I write <a href="https://hachyderm.io/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> at the intersection of <a href="https://hachyderm.io/tags/space" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>space</span></a>, <a href="https://hachyderm.io/tags/signalprocessing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>signalprocessing</span></a> and <a href="https://hachyderm.io/tags/radar" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>radar</span></a>. I've learned a LOT, but the radar is the fuzziest bc it's the hardest to hands-on learn on your own</p><p>Just found this great series about a <a href="https://hachyderm.io/tags/diy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>diy</span></a> <a href="https://hachyderm.io/tags/sdr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sdr</span></a> radar</p><p><a href="https://www.youtube.com/watch?v=igrN_wd_g74&amp;list=PLxC4LYGYcMqmPDEr8E8AlktQPcuHx4izm&amp;pp=iAQB" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=igrN_wd_g7</span><span class="invisible">4&amp;list=PLxC4LYGYcMqmPDEr8E8AlktQPcuHx4izm&amp;pp=iAQB</span></a></p><p> (I'm doing the $200 level, not the $3k)</p><p>Extra cool sidenote, it's coded in <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> and uses <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> for exactly the reason I've switched from <a href="https://hachyderm.io/tags/matplotlib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>matplotlib</span></a>--it's 1000x faster and more versatile</p>
Ogi<p>Decided a good next step would be to have <a href="https://hachyderm.io/tags/PyQtGraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyQtGraph</span></a>'s dash docset (which I build for myself, but is in good shape) go to the community plugins, imagine my surprise when I realize <span class="h-card" translate="no"><a href="https://mastodon.social/@hynek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hynek</span></a></span> is the maintainer of the doc2dash tool (someone I already follow) and the docs walk through the process step by step... thanks <span class="h-card" translate="no"><a href="https://mastodon.social/@hynek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hynek</span></a></span> !</p>
Ogi<p>I need to get better with picking things to work on inside of <a href="https://hachyderm.io/tags/PyQtGraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyQtGraph</span></a> ... every time I'm motivated to improve the library, I start feeling overwhelmed...there's so much work to do, I don't know where to begin. And that goes w/o even looking at the 350 open issues on the issue tracker :lolsob:</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p><span class="h-card"><a href="https://mastodon.social/@pybonacci" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pybonacci</span></a></span> <a href="https://hachyderm.io/tags/napari" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>napari</span></a> looks worth a look, but it isn't immediately obvious that is more similar to what I'm describing than <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> is. </p><p>I was just looking at <a href="https://hachyderm.io/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> engines separately and thinking about how much more control of movement and viewpoint they have than plotting tools, even though in my mind "world exploration" and "data exploration" are essentially the same.</p><p>One is a physical space and the other is a parameter space.</p>
Carsen Stringer (she/her)<p>Learn more on our github: <a href="https://github.com/MouseLand/rastermap" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/MouseLand/rastermap</span><span class="invisible"></span></a>. <a href="https://neuromatch.social/tags/Rastermap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rastermap</span></a> is fast thanks to <a href="https://neuromatch.social/tags/numpy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>numpy</span></a>, <a href="https://neuromatch.social/tags/scipy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scipy</span></a>, <a href="https://neuromatch.social/tags/numba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>numba</span></a>, and <a href="https://neuromatch.social/tags/scikit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scikit</span></a>-learn. The GUI is powered by <a href="https://neuromatch.social/tags/pyqt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqt</span></a> and <a href="https://neuromatch.social/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a>, and supports npz, npy, mat and <a href="https://neuromatch.social/tags/nwb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nwb</span></a> ophys files.</p>
Carsen Stringer (she/her)<p>any Mac M1/M2 silicon <a href="https://neuromatch.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> users here who use <a href="https://neuromatch.social/tags/pyqt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqt</span></a> ? </p><p>I'm wondering if pyqt6 can be installed with pip on a Mac M1/M2 or if we should recommend conda in our installation instructions. thanks for the help! <a href="https://neuromatch.social/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> <a href="https://neuromatch.social/tags/pyqt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqt</span></a> <a href="https://neuromatch.social/tags/gui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gui</span></a> </p><p>(also bothering <span class="h-card" translate="no"><a href="https://fosstodon.org/@jni" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jni</span></a></span>, maybe you know the answer to this? we're using qtpy so in theory any qt could be used)</p>
dr 🛠️🛰️📡🎧:blobfoxcomputer:<p><span class="h-card"><a href="https://mastodon.social/@poleguy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>poleguy</span></a></span> I've worked with <a href="https://hachyderm.io/tags/pyqtgraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyqtgraph</span></a> before and it's really fast but apparently completely unknown, which doesn't give me a warm fuzzy</p><p><a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>