[Paraview] VTK: Re(z), Im(z) plotted as |z|^2, arg(z) ?
Nico Schlömer
nico.schloemer at gmail.com
Tue Jan 19 18:35:05 EST 2010
Yes, excellent, much better. Thanks a lot!
On Tue, Jan 19, 2010 at 8:32 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> Actually, I was just talking about the calculator filter (third toolbar
> down, all the way to the left, icon looks like a calculator). It is nowhere
> near as powerful, but it is much easier to use.
>
> -Ken
>
>
> On 1/19/10 12:29 PM, "Nico Schlömer" <nico.schloemer at gmail.com> wrote:
>
> Are we talking about the Python Programmable filter? Well, judging
> from <http://www.itk.org/Wiki/Python_Programmable_Filter> that seems
> to be a rather powerful thing indeed.
>
> I'll try and get my hands dirty with it.
>
> Cheers,
> Nico
>
>
> On Tue, Jan 19, 2010 at 5:56 PM, Moreland, Kenneth <kmorel at sandia.gov>
> wrote:
>> Can you use the array calculator filter to compute the derived values?
>>
>> -Ken
>>
>>
>> On 1/19/10 9:39 AM, "Nico Schlömer" <nico.schloemer at gmail.com> wrote:
>>
>> Hi,
>>
>> I'm having that very simple legacy VTK file (STRUCTURED_GRID) with one
>> big block of SCALARS with two components, representing the real part
>> and the imaginary part of complex values z.
>>
>> The values that are interesting for plotting are |z|^2 and arg(z),
>> which of course can be entirely expressed in terms of Re(z), Im(z). Is
>> there any way to tell ParaView to do the conversion?
>>
>> What I do right now is returning not Re(z), Im(z) in the VTK
>> components, but |z|^2 and arg(z), for which apparently a conversion in
>> the code's write and read routines is necessary (potentially leading
>> to round-off errors, and being inherently *ugly*).
>>
>> Cheers,
>> Nico
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>>
>> **** Kenneth Moreland
>> *** Sandia National Laboratories
>> ***********
>> *** *** *** email: kmorel at sandia.gov
>> ** *** ** phone: (505) 844-8919
>> *** web: http://www.cs.unm.edu/~kmorel
>>
>>
>
>
>
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
> ***********
> *** *** *** email: kmorel at sandia.gov
> ** *** ** phone: (505) 844-8919
> *** web: http://www.cs.unm.edu/~kmorel
>
>
More information about the ParaView
mailing list