Re: [Veusz-discuss] Veusz Requests - FITS import, 2D dataset operations and plot axis sizes
On 24/05/13 04:31, Mark Durre wrote: (1) Fits Import WCS. As a follow-up to Christian Ambrose's query on fits file imports, I would find it useful to have a function, either on the import step or later, to reset the WCS header data on 2d datasets, I.e. Set the CRPIX1/2, CRVAL1/2 and CDELT1/2 values to 1. This means that each pixel co-ordinates is just the matrix position. This would obviously be useful mainly for data that has square pixels. This would be fairly easy. (2) Expanding operations to include 2D datasets. As far as I can see, Operations only happen on 1d datasets, is this correct? If so, I would like to be able to expand this to 2D dataset where appropriate. For example, I would like to be able to filter images to mask out low values, setting them to Nan, so they are not plotted. You can do this with Transparent data, but it's a pain. You would probably need a generic value name for the data for the filter function, e.g. '($DATA10)' They are all limited to 1d currently, which would be nice to change. At the moment the operations need to know the type of the dataset (1d or 2d). It would be good to remove this requirement if possible. You can, however, do operations on 2D datasets via the Create 2D dataset dialog box. Select From expression based on existing 2D dataset. You can then enter a expression like my2d - 1 or where(my2d=2, my2d, nan). This requires knowing the numpy syntax, however. (3) Graph Axis Sizes. At the moment, the size of the plotting area is controlled by the page size less the margins, in both directions - this can be a computational pain. It would be good to be able to set the axis lengths absolutely, especially for 2–d plotting of square pixels where the matrix dimensions are not the same. I would presume that the margins would then be recomputed automatically. This is a bit of a problem, because it is quite convenient to be able to resize the page, but have the graph fill most of the page - that's why it is margin-based. It's also margin-based because the model is that widgets are contained inside widgets. If it's size-based it would need an origin and a size. Things like putting graphs inside grids would be difficult with absolute graph sizes. It's probably possible to add an option to switch between size and margin modes, though this would make the code rather complex. A different, perhaps better, option to achieve fixed pixel sizes would be a fix aspect ratio option, which would make the largest graph with that aspect ratio (e.g. 1:1) inside the margin area. Jeremy ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
[Veusz-discuss] RuntimeError: the sip module implements API v9.0 to v9.1 but the qtloops module requires API v8.1
Hello, I just installed veusz (version 1.16-3.8.1) on linux (Suse 12.2 with KDE 4.9.5) using the standard package manager to get the dependencies. The installation went through without problem, but starting veusz leads to the above error message. I already remove/reinstall the package, for the same results. Any suggestion? The full error message is given below. Thank you for your help, Gilles - veusz Traceback (most recent call last): File /usr/bin/veusz, line 23, in module import veusz.veusz_main File /usr/lib64/python2.7/site-packages/veusz/veusz_main.py, line 41, in module import veusz.utils as utils File /usr/lib64/python2.7/site-packages/veusz/utils/__init__.py, line 22, in module from textrender import Renderer, FontMetrics File /usr/lib64/python2.7/site-packages/veusz/utils/textrender.py, line 30, in module import points File /usr/lib64/python2.7/site-packages/veusz/utils/points.py, line 25, in module from veusz.helpers.qtloops import plotPathsToPainter RuntimeError: the sip module implements API v9.0 to v9.1 but the qtloops module requires API v8.1 ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
[Veusz-discuss] Veusz to display data in realtime
Hi, I'm looking for a tool to display measurement data aquired by python in real-time. I was looking into veusz, but still have not figured out if this is possible. Options to transfer the data can be files and UDP. I was looking into the capture feature, but the reload function was not doing the job for me. Any alternative suggestions? Thanks Peter ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
Re: [Veusz-discuss] Veusz to display data in realtime
On 25/05/13 21:56, Peter Meier wrote: I'm looking for a tool to display measurement data aquired by python in real-time. I was looking into veusz, but still have not figured out if this is possible. Options to transfer the data can be files and UDP. I was looking into the capture feature, but the reload function was not doing the job for me. Any alternative suggestions? The capture facility should work ok, depending on the format of the data. You don't need reload. It requires data in text form, with each dataset stored as a column in a row, separated by whitespace. If the data is not in this form, an external program can be used to transform the data. UDP sockets aren't supported (TCP is), but you can read from files or external programs. It should be a matter of going to Data-Capture, entering the dataset names to be read from the file, enter the file name, and click capture. Jeremy ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss