DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Filtering a channel based on the values of another channel

Solved!
Go to solution
Highlighted

Hi all,

 

I have imported in DIAdem some height measurements I have taken with a laser profilometer. Each profile consists of 3 channels: X (position), Z (height) and I (laser intensity). I would like to discard (set to novalue) the Z value for those readings whose laser intensity is less than 100. Is there a quick way of doing this?

 

Thank you.

 

Regards

Andrea

0 Kudos
Message 1 of 3
(285 Views)
Solution
Accepted by topic author Andrea12345
04-12-2019 02:16 AM
Call Calculate("Ch(""filtered/Z"") = Ch(""unfiltered/Z"")*(1+CTNV(Ch(""unfiltered/l"")<100))")
0 Kudos
Message 2 of 3
(280 Views)

Great thanks!

0 Kudos
Message 3 of 3
(273 Views)