Home »
Public Forums »
archive »
Using self reference in WHERE statement?
Using self reference in WHERE statement? [message #82048] |
Sat, 10 November 2012 19:04 |
Balthasar Indermuehle
Messages: 22 Registered: August 2012
|
Junior Member |
|
|
Hi all,
I have a vector of data with a timestamp. From that vector, I would like to select each element whose timestamp is more than 5 minutes past the previous element's timestamp.
This is easy to do in a FOR NEXT loop, but not very IDL'ish. Is there a way to for instance use a WHERE statement which self references a preceding or a succeeding element as a criterion?
Can anyone think of an IDL'ish way to do this?
Cheers
- Balt
|
|
|
Current Time: Thu Oct 09 23:24:25 PDT 2025
Total time taken to generate the page: 0.32030 seconds