-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGRFMapStimTable.h
More file actions
40 lines (36 loc) · 1.51 KB
/
GRFMapStimTable.h
File metadata and controls
40 lines (36 loc) · 1.51 KB
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
//
// GRFMapStimTable.h
// GaborRFMap
//
// Created by John Maunsell on 11/2/07.
// Copyright 2007. All rights reserved.
//
#import "GRF.h"
@interface GRFMapStimTable : NSObject
{
long blocksDone;
long blockLimit;
BOOL doneList[kMaxMapValues][kMaxMapValues][kMaxMapValues][kMaxMapValues][kMaxMapValues][kMaxMapValues][kMaxMapValues];
long mapIndex; // index to instance of GRFMapStimTable
int stimRemainingInBlock;
int stimInBlock;
NSMutableArray *currentStimList;
}
- (long)blocksDone;
- (void)dumpStimList:(NSMutableArray *)list listIndex:(long)listIndex;
- (float)contrastValueFromIndex:(long)index count:(long)count min:(float)min max:(float)max;
- (float)tfValueFromIndex:(long)index count:(long)count min:(float)min max:(float)max; // [Vinay] - map tf levels the same way as contrast, but make sure that the maximum level doesn't exceed (refresh rate)/2
- (id)initWithIndex:(long)index;
- (float)linearValueWithIndex:(long)index count:(long)count min:(float)min max:(float)max;
- (float)logValueWithIndex:(long)index count:(long)count min:(float)min max:(float)max;
- (void)makeMapStimList:(NSMutableArray *)list index:(long)index lastFrame:(long)lastFrame pTrial:(TrialDesc *)pTrial;
- (MappingBlockStatus)mappingBlockStatus;
- (MapSettings)mapSettings;
- (void)newBlock;
- (void)reset;
- (long)stimInBlock;
- (void)tallyStimList:(NSMutableArray *)list count:(long)count;
- (void)tallyStimList:(NSMutableArray *)list upToFrame:(long)frameLimit;
- (long)stimDoneInBlock;
- (void)updateBlockParameters;
@end