guiqwt huge data

58 views
Skip to first unread message

Denis Sidorov

unread,
Dec 5, 2014, 8:21:58 AM12/5/14
to guidata...@googlegroups.com
Hello,

I have some troubles when I make guiqwt show huge numpy array (float32*2e6, memory overflow). Current recipe to solve the problem is rarefy numpy array before ``set_data`` (array[1::r_coef], r_ceof is increased with data size increasing). But I can lose information on zooming in and this makes me return data from source array.

I can't find a signal, which emits on curve's resizing before replot. How to capture this event, to modify data for quiqwt before replot?

Is there any other recipe for huge data showing with guiqwt?

Thanks in advance.

Eric McDonald

unread,
Dec 5, 2014, 5:53:43 PM12/5/14
to guidata...@googlegroups.com

I overloaded something deep in CurveDialog, maybe MouseClickEvent? on the curve widget (I don't have my code handy), and checked for middle-click or right-click (pan or zoom), and then handled it there. Otherwise, I let the event pass up the chain.

I never tried to catch any signals. My method is basically a monkey-patch.

Good luck,
Eric

--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqw...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages