diff --git a/Packages/doc/epoch_information.rst b/Packages/doc/epoch_information.rst index 6e96373b87..64df04da04 100644 --- a/Packages/doc/epoch_information.rst +++ b/Packages/doc/epoch_information.rst @@ -72,7 +72,7 @@ this can be read with: Format ------ -The times are in seconds where 0 is the beginning of the signal input. The reference signal is the DA input wave. +The times are in seconds where 0 is the beginning of the signal input. The reference signal is the DA or TTL output wave. The epochChannel wave can contain several entries with different levels covering the same time range. Epochs with a level of zero name the main components of the input signal. Typical epochs with zero level are 'Inserted Test Pulse' and 'StimSet'. @@ -109,16 +109,13 @@ Time specialities ----------------- The epoch start and end times are stored in seconds with sufficiently large -precision as text. +precision as text. The start time of an epoch refers to the first sample point of the feature that +contains the signal. For a pulse epoch following a base line epoch the sample point at the start time +of the pulse epoch is the first point with an amplitude > 0. Thus, the epoch ranges are sample point +exact. The sample point can be calculated by ``round(epochTime / samplingInterval)``. -It can not be assumed though that the epoch start and end time points coincide -with the sampling pattern of the DA data. As an example an epoch going from -1s to 2s might be referring to DA data which has sampling points -acquired at 0.9995s and 1.0015s and not exactly at 1s. - -It is the responsibility of the user evaluating the epochs information to -select a scientific consistent strategy dealing with that. A good first approach might -be to use the closest sampling point. +An exception from that are oodDAQ region epochs (``ODx``) that store times that are not sample point exact. +Details are described in the following section. optimized overlap distributed data acquisistion (oodDAQ) regions ---------------------------------------------------------------- @@ -216,6 +213,11 @@ level and includes the trailing baseline (that precedes the next pulse) unless i An epoch named 'Baseline' is inserted if the first pulse in the pulse train has a leading baseline. This is applies for flipped Stimsets containing Stimset-Epochs with type pulse train. +.. _Figure Epoch Visualization2: + +.. figure:: svg/epoch-visualization2.svg + :align: center + .. _user_epochs_doc: User epochs diff --git a/Packages/doc/svg/epoch-visualization2.svg b/Packages/doc/svg/epoch-visualization2.svg new file mode 100644 index 0000000000..25b3bafea1 --- /dev/null +++ b/Packages/doc/svg/epoch-visualization2.svg @@ -0,0 +1,25244 @@ + + + + Qt SVG Document + Generated with Qt + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + 8 + + + + + + + + + + 6 + + + + + + + + + + 4 + + + + + + + + + + 2 + + + + + + + + + + 0 + + + + + + DA0 + + + + (mV) + + + + + + + + + + + + + + 1200 + + + + + + + + + + 1000 + + + + + + + + + + 800 + + + + + + + + + + 600 + + + + + + + + + + 400 + + + + + + + + + + 200 + + + + + + + + + + 0 + + + + + + ms + + + + + + + + + + + + + + 10 + + + + + + + + + + 8 + + + + + + + + + + 6 + + + + + + + + + + 4 + + + + + + + + + + 2 + + + + + + + + + + 0 + + + + + + DA1 + + + + (mV) + + + + + + + + + + + + + + -70 + + + + + + + + + + -60 + + + + + + + + + + -50 + + + + + + + + + + -40 + + + + + + + + + + -30 + + + + + + + + + + -20 + + + + + + + + + + + + + + -120 + + + + + + + + + + -100 + + + + + + + + + + -80 + + + + + + + + + + -60 + + + + + + + + + + -40 + + + + + + + + + + -20 + + + + + + + + + + + + + + + 0.00 + + + + + + HS0 + + + + + + + + + + + + + + 0.00 + + + + + + HS1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TP + TP + B0_DO + ST + ST + B0_TR + TP_B0 + TP_B1 + OD0 + OD1 + OD2 + OD3 + OD4 + OD5 + OD6 + OD7 + OD8 + OD9 + OD10 + OD11 + TP_P + + + E0 + E0 + + E1 + E1 + E0_PT_P0 + E0_PT_P0_P + E0_PT_P0_B + E0_PT_P1 + E0_PT_P2 + E0_PT_P3 + E0_PT_P4 + E0_PT_P5 + E0_PT_P6 + E0_PT_P7 + E0_PT_P8 + E0_PT_P9 + E0_PT_P10 + E0_PT_P11 + + + + + + + + + + + + + + + + + + + + + E0_PT_P11_P + E0_PT_P10_P + E0_PT_P10_B + + + + OD0 + ODx + E0_PT_Px_P + E0_PT_Px_B + + + + + + + E0_PT_Px + + + + + + + + + poisson distributed pulse train + square pulse + square pulsewith amplitude 0 + delay from oodDAQ shift + joined pulses + + + poisson distributed pulse train + baseline trail + TP + TP + + + + flipped stimset + flipped stimset +