-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStimInfo.h
35 lines (30 loc) · 1016 Bytes
/
StimInfo.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
//
// StimInfo.h
// FeatureViewer
//
// Created by Roger Herikstad on 13/11/11.
// Copyright 2011 NUS. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface StimInfo : NSObject{
NSMutableDictionary *data;
NSDictionary *descriptor;
NSData *syncs,*framepts,*repBoundaries;
NSString *sessionName, *sessionPath;
NSUInteger nframes, framesPerRep,nreps;
NSNumber *repDuration;
}
-(void)readFromFile:(NSString*)fname;
-(void)readMonitorSyncs;
-(void)readDescriptor;
-(void)getFramePoints;
-(void)getTriggerSignalWithThreshold:(float)threshold;
@property (retain,readwrite) NSDictionary *descriptor;
@property (retain,readwrite) NSData *framepts;
@property (retain,readwrite) NSData *repBoundaries;
@property (assign,readwrite) NSUInteger nframes;
@property (assign,readwrite) NSUInteger framesPerRep;
@property (assign,readwrite) NSUInteger nreps;
@property (retain,readwrite) NSString *sessionName,*sessionPath;
@property (retain, readwrite) NSNumber *repDuration;
@end