The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 How to spatially reduce a dataset?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
rdeleu Posted - 12/19/2023 : 10:30:35 AM
I have a dataset with XYXY vectors. The density of the vectors is way too high in some areas of the profile (see screenshot) which makes it unreadable.


I tried reducing my dataset using a random distribution, it is better, but the density remains too high near the bottom of the profile and becomes too low in the other parts:


I need to find a way to reduce the dataset differently depending on the density, so that the number of vectors is evenly distributed throughout the profile (along X and Y axis). Is there any way to do that? I tried to do this upstream in the Paraview software from where the data come from, but no success.

Thanks!
2   L A T E S T    R E P L I E S    (Newest First)
rdeleu Posted - 12/21/2023 : 08:37:12 AM
Many thanks YimingChen! I didn't know anything about binning.

Turns out my version of OriginPro does not support the 1D Binnning app, but I learned that it has a 2D binning already included! So after a few tries, I ended up using this to compute average values of X and Y velocities for each 2D XY classes. After a few tweaks with the method, it worked like a charm, here is the result:

YimingChen Posted - 12/19/2023 : 12:28:55 PM
Please check the attached project file. One way is to use the 1D Binning App to categorize each vector according to its XY coordinates.
https://www.originlab.com/FileExchange/details.aspx?fid=489

Next, group the arrows and compute the average value for each location group to obtain evenly spaced data along the X and Y axes.


https://my.originlab.com/ftp/forum_and_kbase/Images/EvenlySpaceXY.opju

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000