| Author |
Message |
niels
Joined: Nov 12, 2007 Posts: 7
|
Posted: Nov 13, 2007 12:03 AM Post subject: Autothresholding with Timeratio element |
|
Hi Jarek,
Here are the questions concerning the timeratio element.
*What exactly does the Timeratio element do to the elements connected to it? (I couldn't find the exact element discription in the manual) Right now I'm using the element for autothresholding (as in the pacman design) and questions below conern this usage of the element.
*If I set the element's ratio to say 80% while it is attached to a threshold element (set for reward >). Does this mean the threshold is set dynamically so that it is reached 80% of the time? And an inhibit threshold (<) should be set in reverse, so 20% ratio for the signal to be 80% of the time below the threshold?
*Is setting \"time period\" in this element dependent on the \"average\" that is set in the average element which feeds the signal to the timeratio element?
Regards, |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1075
|
Posted: Nov 13, 2007 3:42 AM Post subject: |
|
Hi Niels,
yes, this element is used to set threshold dynamically, adjusted to the current leve of the input signal.
Manual has been updated, please look there for further explanation and let me know if anything is still not clear.
Jarek
|
|
 |
niels
Joined: Nov 12, 2007 Posts: 7
|
Posted: Nov 13, 2007 2:07 PM Post subject: |
|
Hi Jarek and members,
Thanks for explaining the scalartimeratio in the manual. That made things clear. Now I have some final questions about the elements connected to the timeratio element.
In the Pacman example, the signal goes through an average (scalartimetransform) element set to 300 milliseconds before it goes through the scalartimeratio. And the scalartimeratio is set to a time-interval of 2 sec. Are these settings related?
If the scalartimeratio is connected to a threshold to set it dynamically, the value to which the threshold element itself is set, doesn't matter right? Only the signs like <, > matter in this way?
Niels
|
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1075
|
Posted: Nov 13, 2007 5:25 PM Post subject: |
|
Hi Niels,
the Time Period option in ScalarTimeRatio has different purpose then the Time Period in ScalarTimeTransform. They both operate on input samples from the defined time period, but perform different functions. First is a median filter, and second is a mean.
Correct, Thr input in the Threshold element overrides the \"Threshold value\" field in properties.
Jarek |
|