- From: Jess Tate <jess@sci.utah.edu>
- To: Liansheng Wang <lswang@cse.cuhk.edu.hk>
- Cc: scirun-users@sci.utah.edu
- Subject: Re: [SCIRUN-USERS] how to import electrode into SCIRUN net
- Date: Mon, 14 Mar 2016 09:37:58 -0600
Hi Liansheng,
Importing this data will depend on the format that it is in. Te general idea
is that you want to load your points and potentials as a point cloud with the
potentials assigned to each point, then you will need to map that data onto
the mesh you are using.
First loading the point data. If you have two matrices, one for the point
positions and the other for the potentials, you can import them separately
and combine them with SetFieldData. to load a matrix as a point cloud, it
needs to be saved as a ascii file (.pts or txt file ending) and the matrix
must have 3 columns so that each row is the x y z coordinate of a point. The
potentials must be nx1 with n being the number of points and can be ascii,
matlab, or scirun filetypes. You can also combine them in a matlab structure
array and load that into SCIRun. save the points in a field called 'node' or
'pts', and save the potentials in a field called 'data', or 'field'.
once you have the points and potentials loaded in, then you will need to map
it onto your mesh to do any computations with it. The method you want to use
will be dependent on your specific application, but look at the mapping
modules (module with map in the name), of which there are several options.
cheers,
Jess
On Mar 14, 2016, at 7:58 AM, Liansheng Wang <lswang@cse.cuhk.edu.hk> wrote:
>
Dear all,
>
>
Does anyone know how to import electrode information (position and
>
potentials) into SCIRUN net? The electrode positions are not in the nodes
>
of torso geometry.
>
>
Thank you.
>
>
Best regards,
>
Liansheng
>
>
>
________________________________________________
>
SCIRun users mailing list: scirun-users@sci.utah.edu
>
http://www.sci.utah.edu/software/scirun.html
>
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe
>
scirun-users" in the message body.
Archive powered by MHonArc 2.6.18.