WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: Elittdogg
Forum: Vizard 12-03-2007, 08:39 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
This is what I did: class...

This is what I did:


class SampleRate(viz.EventClass):
def __init__(self,rate,func):
viz.EventClass.__init__(self)
self.rate = rate
self.func = func
self.lastSampleTime = 0.0...
Forum: Vizard 11-30-2007, 08:37 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
The sample script didn't really do anything. ...

The sample script didn't really do anything. Maybe I'm not implementing it correctly, but I can't seem to get consistent results. When I'm running a script other than just that simple script the...
Forum: Vizard 11-29-2007, 03:04 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
So now the question is why am I not getting...

So now the question is why am I not getting consistent data collection results?
Forum: Vizard 11-29-2007, 10:20 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
When I run that simple script my fram rate is...

When I run that simple script my fram rate is essentially 60 (it constantly changes between 59 and 60).
Forum: Vizard 11-29-2007, 10:17 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
Hopefully you can run it now: import...

Hopefully you can run it now:


import viz
import math
import whrandom
import string

viz.go(viz.PROMPT)
Forum: Vizard 11-29-2007, 08:32 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
Here's the code of what I have: import...

Here's the code of what I have:

import viz
import math
import whrandom
import string

viz.go(viz.PROMPT)

# Get subject number from prompt box
Forum: Vizard 11-29-2007, 08:02 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
When I press F4 the number keeps rapidly...

When I press F4 the number keeps rapidly changing. It looks like it's fluctuating between 45-55. I don't know what that means but that's what I got. Is it supposed to be stationary? If so, is...
Forum: Vizard 11-28-2007, 01:13 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
How do I check/make sure it is running at 60Hz? ...

How do I check/make sure it is running at 60Hz?

Reproduces what results?
Forum: Vizard 11-28-2007, 10:07 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
So if I define the sample rate but not max...

So if I define the sample rate but not max samples then it should sample at that rate regardless right? And then data collection would stop whenever the trial ended? So everytime a trial lasted 60...
Forum: Vizard 11-27-2007, 06:16 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
Ok, you're right. Originally I wanted to collect...

Ok, you're right. Originally I wanted to collect a fixed amount of data points. But then I switched which program I was working on and the new one needs to be flexible depending on how long the...
Forum: Vizard 11-27-2007, 01:00 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
So with this code would I have to alter the code...

So with this code would I have to alter the code between each trial? Like if I'm running 10 trials each of which lasts as long as it takes the participant to perform the desired goal-action, would I...
Forum: Vizard 11-26-2007, 01:21 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
I got that, but what if I need MAX SAMPLES to be...

I got that, but what if I need MAX SAMPLES to be variable...i.e. to be able to be changed depending on how long the participant takes to complete a task. I.e. to make a general code because I won't...
Forum: Vizard 11-26-2007, 01:08 PM
Replies: 24
Views: 28,081
Posted By Elittdogg
But I also need it to be flexible in the sense...

But I also need it to be flexible in the sense that if I collect for one minute so then I get 1800 samples at a rate of 30 Hz, but if I only collect for 30 seconds then I need 900 samples still at a...
Forum: Vizard 11-26-2007, 11:37 AM
Replies: 24
Views: 28,081
Posted By Elittdogg
Flock of Birds question (again)

If I collect with the Birds through Vizard, I get a different number of data points each time I run the program. Even if I standardize the collection rate at "(1.0/30)" because I want it to collect...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -7. The time now is 11:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC