-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCRSStimuli.h
66 lines (59 loc) · 1.92 KB
/
CRSStimuli.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
CRSStimuli.h
*/
#import "CRS.h"
#import "CRSMapStimTable.h"
@interface CRSStimuli : NSObject {
BOOL abortStimuli;
DisplayParam display;
long durationMS;
float fixSizePix;
LLFixTarget *fixSpot;
BOOL fixSpotOn;
NSArray *fixTargets;
NSArray *gabors;
NSMutableArray *mapStimList0;
NSMutableArray *mapStimList1;
NSMutableArray *mapStimList2; // [Vinay] - added for centre gabors
LLIntervalMonitor *monitor;
short selectTable[kMaxOriChanges];
long targetOnFrame;
NSMutableArray *taskStimList;
BOOL stimulusOn;
BOOL targetPresented;
TrialDesc trial;
LLFixTarget *targetSpot;
// LLGabor *taskGabor;
//BOOL matchSurroundCentre; // [Vinay] - added this to indicate if surround and centre should have some common attributes
LLFixTarget *colorSpot;
RGBFloat rgb;
int *stimIndexList;
}
- (void)doFixSettings;
- (void)doGabor0Settings;
- (void)presentStimSequence;
- (void)dumpStimList;
- (void)erase;
- (LLGabor *)mappingGabor0;
- (LLGabor *)mappingGabor1;
- (LLGabor *)mappingGabor2; // [Vinay] - Added Gabor2 for the centre gabor
- (LLGabor *)taskGabor;
- (LLGabor *)initGabor:(BOOL)bindTemporalFreq;
- (void)loadGabor:(LLGabor *)gabor withStimDesc:(StimDesc *)pSD;
- (void)makeStimLists:(TrialDesc *)pTrial;
- (void)clearStimLists:(TrialDesc *)pTrial;
- (LLIntervalMonitor *)monitor;
- (void)setFixSpot:(BOOL)state;
- (void)shuffleStimListFrom:(short)start count:(short)count;
- (void)startStimSequence;
- (BOOL)stimulusOn;
- (void)stopAllStimuli;
- (void)tallyStimLists:(long)count;
- (long)targetOnFrame;
- (BOOL)targetPresented;
- (RGBFloat)RGBFromIndex:(int)index factor:(int)factor;
- (void)tallyStimListsUpToFrame:(long)frameLimit;
- (NSMutableArray *)mapStimList0;
- (NSMutableArray *)mapStimList1;
- (NSMutableArray *)mapStimList2;
@end