epochTable
Classes¤
epochTable
¤
Load epoch/stimulation from abf file using 'sweepEpochs'.
Values in epoch table are per sweep!
sweepNumber index type startPoint stopPoint startSec stopSec durSec level pulseWidth pulsePeriod digitalState 0 13 0 Step 0 25 0.0000 0.0025 0.0025 -0.1 0 0 0 1 13 1 Step 25 275 0.0025 0.0275 0.0250 -0.1 0 0 0 2 13 2 Step 275 1275 0.0275 0.1275 0.1000 0.7 0 0 0 3 13 3 Step 1275 1525 0.1275 0.1525 0.0250 -0.1 0 0 0 4 13 4 Step 1525 1600 0.1525 0.1600 0.0075 -0.1 0 0 0
Source code in sanpy/fileloaders/epochTable.py
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
|
Functions¤
findEpoch(pnt)
¤
Return epoch index for a point in recording.
Stop points are always the same as next epoch start point. Be sure to use '<' like pnt<stopPnt to get epoch index correct.
If not found, return None
Parameters:
Name | Type | Description | Default |
---|---|---|---|
pnt |
int
|
Point index into recording (within a sweep) |
required |
Source code in sanpy/fileloaders/epochTable.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
|
getLevel(epoch)
¤
Given an epoch number return the 'level'
Source code in sanpy/fileloaders/epochTable.py
128 129 130 |
|
getStartSec(epoch)
¤
Given an epoch number return the 'startSec'
Source code in sanpy/fileloaders/epochTable.py
132 133 134 |
|
getStartSecs()
¤
Return all epoch start times.
Source code in sanpy/fileloaders/epochTable.py
136 137 138 139 |
|
Functions¤
get_logger(name, level=logging.DEBUG)
¤
Source code in sanpy/sanpyLogger.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
|