| 1 | #cxx . . $ `<file>/EEG/ERPTier.h`/ifndef _ERPTier_h_ |
| 2 | #define _ERPTier_h_cxx . . $ `EEG/ERPTier.h:2:9`! |
| 3 | /* ERPTier.h |
| 4 | * |
| 5 | * Copyright (C) 2011,2012,2014-2018 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "EEG.h"cxx . . $ `<file>/EEG/EEG.h`/ |
| 22 | #include "ERP.h"cxx . . $ `<file>/EEG/ERP.h`/ |
| 23 | |
| 24 | #include "ERPTier_def.h"cxx . . $ `<file>/EEG/ERPTier_def.h`/ |
| 25 | |
| 26 | integercxx . . $ integer# ERPTier_getChannelNumbercxx . . $ ERPTier_getChannelNumber(6ea5df07d793a7fb). (ERPTiercxx . . $ ERPTier# me, conststring32cxx . . $ conststring32# channelName); |
| 27 | static inline void ERPTier_checkEventNumbercxx . . $ ERPTier_checkEventNumber(b7ba5a7351ce5532). (ERPTiercxx . . $ ERPTier# me, integercxx . . $ integer# eventNumber) { |
| 28 | if (eventNumber < 1) |
| 29 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"The specified event number is ", eventNumber, U" but should have been positive."); |
| 30 | if (eventNumber > mycxx . . $ `melder/melder.h:44:9`! pointscxx . . $ structERPTier#points..sizecxx . . $ CollectionOf#size.) |
| 31 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"The specified event number (", eventNumber, U") exceeds the number of events (", mycxx . . $ `melder/melder.h:44:9`! points.size, U")."); |
| 32 | } |
| 33 | double ERPTier_getMeancxx . . $ ERPTier_getMean(d1ebd0d1c6285314). (ERPTiercxx . . $ ERPTier# me, integercxx . . $ integer# pointNumber, integercxx . . $ integer# channelNumber, double tmin, double tmax); |
| 34 | double ERPTier_getMeancxx . . $ ERPTier_getMean(d399a8429b8e1e06). (ERPTiercxx . . $ ERPTier# me, integercxx . . $ integer# pointNumber, conststring32cxx . . $ conststring32# channelName, double tmin, double tmax); |
| 35 | void ERPTier_subtractBaselinecxx . . $ ERPTier_subtractBaseline(4c46e81e4690e638). (ERPTiercxx . . $ ERPTier# me, double tmin, double tmax); |
| 36 | void ERPTier_rejectArtefactscxx . . $ ERPTier_rejectArtefacts(b50a59a05ac30718). (ERPTiercxx . . $ ERPTier# me, double threshold); |
| 37 | autoERPcxx . . $ autoERP# ERPTier_extractERPcxx . . $ ERPTier_extractERP(f7732729936a7064). (ERPTiercxx . . $ ERPTier# me, integercxx . . $ integer# pointNumber); |
| 38 | autoERPcxx . . $ autoERP# ERPTier_to_ERP_meancxx . . $ ERPTier_to_ERP_mean(f6ed80d1b129aaf2). (ERPTiercxx . . $ ERPTier# me); |
| 39 | autoERPTiercxx . . $ autoERPTier# ERPTier_extractEventsWhereColumn_numbercxx . . $ ERPTier_extractEventsWhereColumn_number(b84f18d66b309328). (ERPTiercxx . . $ ERPTier# me, Tablecxx . . $ Table# table, integercxx . . $ integer# columnNumber, kMelder_numbercxx . . $ kMelder_number# which, double criterion); |
| 40 | autoERPTiercxx . . $ autoERPTier# ERPTier_extractEventsWhereColumn_stringcxx . . $ ERPTier_extractEventsWhereColumn_string(f41bdfc5d6bba079). (ERPTiercxx . . $ ERPTier# me, Tablecxx . . $ Table# table, integercxx . . $ integer# columnNumber, kMelder_stringcxx . . $ kMelder_string# which, conststring32cxx . . $ conststring32# criterion); |
| 41 | |
| 42 | autoERPTiercxx . . $ autoERPTier# EEG_to_ERPTier_bitcxx . . $ EEG_to_ERPTier_bit(180f0bc3b8dd15da). (EEGcxx . . $ EEG# me, double fromTime, double toTime, int markerBit); |
| 43 | autoERPTiercxx . . $ autoERPTier# EEG_to_ERPTier_markercxx . . $ EEG_to_ERPTier_marker(37471ed4f7d23044). (EEGcxx . . $ EEG# me, double fromTime, double toTime, uint16cxx . . $ uint16# marker); |
| 44 | autoERPTiercxx . . $ autoERPTier# EEG_to_ERPTier_triggerscxx . . $ EEG_to_ERPTier_triggers(6070debc67279e52). (EEGcxx . . $ EEG# me, double fromTime, double toTime, |
| 45 | kMelder_stringcxx . . $ kMelder_string# which, conststring32cxx . . $ conststring32# criterion); |
| 46 | autoERPTiercxx . . $ autoERPTier# EEG_to_ERPTier_triggers_precededcxx . . $ EEG_to_ERPTier_triggers_preceded(2f42c0832ccc00fe). (EEGcxx . . $ EEG# me, double fromTime, double toTime, |
| 47 | kMelder_stringcxx . . $ kMelder_string# which, conststring32cxx . . $ conststring32# criterion, |
| 48 | kMelder_stringcxx . . $ kMelder_string# precededBy, conststring32cxx . . $ conststring32# criterion_precededBy); |
| 49 | |
| 50 | /* End of file ERPTier.h */ |
| 51 | #endif |