-
Notifications
You must be signed in to change notification settings - Fork 0
/
fault_data.h
11 lines (7 loc) · 9.11 KB
/
fault_data.h
1
2
3
4
5
6
7
8
9
10
11
#ifndef DATA_H
#define DATA_H
// SAMPLING AT 480 Hz
const float phase_a[] = { 0.0, 0.0020832, 0.0041664, 0.0062496, 0.0083328, 0.010416, 0.0124992, 0.0145824, 0.0166656, 0.0187488, 0.020832, 0.0229152, 0.0249984, 0.0270816, 0.0291648, 0.031248, 0.0333312, 0.0354144, 0.0374976, 0.0395808, 0.041664, 0.0437472, 0.0458304, 0.0479136, 0.0499968, 0.05208, 0.0541632, 0.0562464, 0.0583296, 0.0604128, 0.062496, 0.0645792, 0.0666624, 0.0687456, 0.0708288, 0.072912, 0.0749952, 0.0770784, 0.0791616, 0.0812448, 0.083328, 0.0854112, 0.0874944, 0.0895776, 0.0916608, 0.093744, 0.0958272, 0.0979104, 0.0999936, 0.1020768, 0.10416, 0.1062432, 0.1083264, 0.1104096, 0.1124928, 0.114576, 0.1166592, 0.1187424, 0.1208256, 0.1229088, 0.124992, 0.1270752, 0.1291584, 0.1312416, 0.1333248, 0.135408, 0.1374912, 0.1395744, 0.1416576, 0.1437408, 0.145824, 0.1479072, 0.1499904, 0.1520736, 0.1541568, 0.15624, 0.1583232, 0.1604064, 0.1624896, 0.1645728, 0.166656, 0.1687392, 0.1708224, 0.1729056, 0.1749888, 0.177072, 0.1791552, 0.1812384, 0.1833216, 0.1854048, 0.187488, 0.1895712, 0.1916544, 0.1937376, 0.1958208, 0.197904, 0.1999872, 0.2020704, 0.2041536, 0.2062368, 0.20832, 0.2104032, 0.2124864, 0.2145696, 0.2166528, 0.218736, 0.2208192, 0.2229024, 0.2249856, 0.2270688, 0.229152, 0.2312352, 0.2333184, 0.2354016, 0.2374848, 0.239568, 0.2416512, 0.2437344, 0.2458176, 0.2479008, 0.249984, 0.2520672, 0.2541504, 0.2562336, 0.2583168, 0.2604, 0.2624832, 0.2645664, 0.2666496, 0.2687328, 0.270816, 0.2728992, 0.2749824, 0.2770656, 0.2791488, 0.281232, 0.2833152, 0.2853984, 0.2874816, 0.2895648, 0.291648, 0.2937312, 0.2958144, 0.2978976, 0.2999808, 0.302064, 0.3041472, 0.3062304, 0.3083136, 0.3103968, 0.31248, 0.3145632, 0.3166464, 0.3187296, 0.3208128, 0.322896, 0.3249792, 0.3270624, 0.3291456, 0.3312288, 0.333312, 0.3353952, 0.3374784, 0.3395616, 0.3416448, 0.343728, 0.3458112, 0.3478944, 0.3499776, 0.3520608, 0.354144, 0.3562272, 0.3583104, 0.3603936, 0.3624768, 0.36456, 0.3666432, 0.3687264, 0.3708096, 0.3728928, 0.374976, 0.3770592, 0.3791424, 0.3812256, 0.3833088, 0.385392, 0.3874752, 0.3895584, 0.3916416, 0.3937248, 0.395808, 0.3978912, 0.3999744, 0.4020576, 0.4041408, 0.406224, 0.4083072, 0.4103904, 0.4124736, 0.4145568, 0.41664, 0.4187232, 0.4208064, 0.4228896, 0.4249728, 0.427056, 0.4291392, 0.4312224, 0.4333056, 0.4353888, 0.437472, 0.4395552, 0.4416384, 0.4437216, 0.4458048, 0.447888, 0.4499712, 0.4520544, 0.4541376, 0.4562208, 0.458304, 0.4603872, 0.4624704, 0.4645536, 0.4666368, 0.46872, 0.4708032, 0.4728864, 0.4749696, 0.4770528, 0.479136, 0.4812192, 0.4833024, 0.4853856, 0.4874688, 0.489552, 0.4916352, 0.4937184, 0.4958016, 0.4978848, 0.499968 };
const float phase_b[] = { 2.650513887, 4.267559052, 3.384224653, 0.5178926587, -2.652580976, -4.270203114, -3.387506008, -0.5214996934, 2.649151564, 4.267349243, 3.385289669, 0.5196091533, -2.651220322, -4.269994736, -3.388572931, -0.5232170224, 2.64778924, 4.267139435, 3.38635397, 0.5213235617, -2.649859428, -4.269786358, -3.389639854, -0.5249359012, 2.64642477, 4.266927719, 3.387417793, 0.5230390429, -2.648498058, -4.269575119, -3.390702724, -0.5266506076, 2.645063639, 4.26671648, 3.388483524, 0.5247567892, -2.647134304, -4.26936388, -3.391767263, -0.5283665061, 2.643700838, 4.266506672, 3.389547825, 0.5264738202, -2.645768881, -4.269150734, -3.392830133, -0.530082345, 2.642336845, 4.266294003, 3.390610695, 0.8588879704, 1.895629644, 6.137821198, 10.46749115, 11.71119881, 8.642512321, 2.635290384, -3.141452551, -5.634458542, -3.602508545, 1.525648713, 6.575740814, 8.45566082, 5.919023037, 0.361376524, -5.044176102, -7.211308479, -4.921137333, 0.4366857708, 5.681807518, 7.714945793, 5.322435379, -0.1210880578, -5.434577942, -7.523241997, -5.171196461, 0.2381364256, 5.53148222, 7.603896618, 5.241256714, -0.1741118431, -5.471779823, -7.545535088, -5.182018757, 0.2365143001, 5.538388729, 7.619672298, 5.262747288, -0.1485012025, -5.444047451, -7.519777298, -5.157100677, 0.2605693638, 5.563155174, 7.646177292, 5.290940285, -0.1209159642, -5.418273926, -7.497145176, -5.138159752, 0.2780101895, 5.580082417, 7.664031982, 5.309882164, -0.1023124158, -5.401762009, -7.483658314, -5.127916336, 0.2864660919, 5.588770866, 7.673902988, 5.321229458, -0.09090293199, -5.391983032, -7.47667408, -5.123596191, 0.2893730998, 5.592134476, 7.67899847, 5.327977657, -0.08365294337, -5.386053085, -7.473252296, -5.122612, 0.2892448008, 5.592670441, 7.681498051, 5.33238554, -0.07862127572, -5.382124424, -7.471688747, -5.123322487, 0.2875516415, 5.591787338, 7.682666779, 5.335586071, -0.07468722016, -5.379223824, -7.47104311, -5.124898434, 0.2850703001, 5.590180874, 7.683176517, 5.338173389, -0.07130675763, -5.376837254, -7.470872879, -5.12690115, 0.2821866572, 5.588208199, 7.683345318, 5.34044838, -0.06821710616, -5.374713421, -7.470948696, -5.129132271, 0.2790926695, 5.586037159, 7.683333397, 5.342553139, -0.06528376043, -5.372736454, -7.471159935, -5.131489277, 0.2758805454, 5.583755493, 7.683216095, 5.344560623, -0.06244155765, -5.370842457, -7.471449375, -5.13392067, 0.2725973427, 5.58140564, 7.683033466, 5.346506596, -0.05965604633, -5.369002342, -7.47178793, -5.136399269, 0.2692683935, 5.57901144, 7.68280983, 5.348413467, -0.05690725893, -5.36719656, -7.472158909, -5.138907909, 0.2659101486, 5.576588631, 7.682557106, 5.350293636, -0.05418297648, -5.365412712, -7.472551346, -5.141439438, -2.32978487, -4.823568344, 0.8030247688, 1.845490694, 4.969153404, 3.274398804, 0.569408536, -2.187763453, -4.784092426, -2.689794302, -1.217740655, 3.257002592, 3.78393364, 3.788861275, 0.3391660452, -2.527977228, -4.245317936, -3.560872793, -0.3871338367, 2.353114605, 4.48348093, 3.146290302, 0.7353909016, -2.802020311, -4.210172653, -3.490619659, -0.6185207963, 2.610666037, 4.153020859, 3.451104164, 0.4277695417, -2.569363832, -4.391423702, -3.406258821, -0.6551281214, 2.578398943, 4.210959435, 3.353224516, 0.5399160385, -2.692881346, -4.280477524, -3.501854181, -0.5923730135, 2.535989046 };
const float phase_c[] = { -4.257731438, -2.583797693, 0.603503406, 3.437320709, 4.257843971, 2.584480286, -0.6026565433, -3.436810255, -4.257975101, -2.585180044, 0.6017915606, 3.436281443, 4.258086205, 2.585862398, -0.6009441018, -3.435770273, -4.258215427, -2.586560726, 0.6000795364, 3.435242891, 4.258329868, 2.587244511, -0.5992308855, -3.434729576, -4.258457184, -2.587942123, 0.5983674526, 3.434201479, 4.258568287, 2.588624001, -0.5975200534, -3.433689594, -4.258698463, -2.589323282, 0.5966544151, 3.433160782, 4.258808136, 2.590004444, -0.5958068371, -3.432649136, -4.258937836, -2.590705156, 0.59494102, 3.432117462, 4.259046555, 2.591383934, -0.5940954089, -3.43160677, -4.259178162, -2.592085361, 0.5932279229, 3.390648842, 4.1638937, 2.829127789, 0.1825750172, -2.104524851, -2.666538954, -1.156423569, 1.553237438, 3.884892225, 4.43330574, 2.886630535, 0.1213555038, -2.286081791, -2.919475079, -1.457708001, 1.220050216, 3.530442238, 4.082586765, 2.535004616, -0.2253534347, -2.610144377, -3.241428614, -1.761924744, 0.9338183403, 3.259229898, 3.833311558, 2.304762125, -0.4416232705, -2.810019255, -3.424290419, -1.934369564, 0.7793197632, 3.115926743, 3.702390194, 2.186723471, -0.5496760011, -2.909300089, -3.515264273, -2.018508673, 0.7014330626, 3.046890497, 3.639673471, 2.131119013, -0.5999245048, -2.955634832, -3.558460712, -2.058264971, 0.6647881269, 3.013899326, 3.611161947, 2.105548143, -0.6223708391, -2.976494312, -3.578575611, -2.077366352, 0.6470631957, 2.998128891, 3.597991467, 2.094551086, -0.6321938038, -2.985682726, -3.588118792, -2.08693409, 0.6380158067, 2.990326881, 3.591884136, 2.089980125, -0.6360155344, -2.989665985, -3.592714548, -2.092176676, 0.6329094172, 2.986130476, 3.589063644, 2.088366985, -0.6371380091, -2.991201639, -3.595144749, -2.095360756, 0.6296099424, 2.983608723, 3.587751865, 2.088125944, -0.637018621, -2.991585732, -3.596538305, -2.097612143, 0.6271892786, 2.981857538, 3.587173462, 2.088543653, -0.6362976432, -2.991418839, -3.597422361, -2.099401474, 0.625197947, 2.980501652, 3.586945534, 2.089294672, -0.6352779865, -2.990971327, -3.59804821, -2.100950241, 0.6234256625, 2.979351521, 3.586909533, 2.090224981, -0.6340874434, -2.99037075, -3.598527908, -2.102365732, 0.6217785478, 2.978318214, 3.586982489, 2.09125495, -0.6328029633, -2.989679098, -3.598922729, -2.103699923, 0.6202067733, 2.977355957, 3.587121487, 2.092348337, -0.6314584017, -2.988929749, -3.599263668, -2.104983807, 0.6186828017, 2.976437807, 3.587303877, 2.093482971, -0.6300733685, -2.988141298, -3.599565983, -2.106229544, 0.6171950698, 2.975554228, 3.58751893, 2.094650507, -0.628657043, -2.98732233, -3.599838257, -2.107446909, 0.6157343388, 2.974695921, 3.587757111, 2.275734425, -0.8011507988, -3.844169855, -4.361562729, -3.023784876, 0.4940854013, 3.079895496, 4.228124142, 2.383681536, -0.6818524599, -3.489463091, -4.475233555, -2.641553402, 0.3640452027, 3.397200584, 4.073804379, 2.622986794, -0.7181059718, -3.455911636, -4.342775822, -2.728629589, 0.5250769258, 3.287126303, 4.243876934, 2.499620438, -0.5735278726, -3.517748356, -4.300830841, -2.700165987, 0.4916842282, 3.355925798, 4.183953762, 2.586168528, -0.6430624127, -3.43919611, -4.347658157, -2.664516926, 0.4846029282, 3.354802608, 4.206954002, 2.563759327, -0.6005150676, -3.474306822, -4.306548595 };
#endif // DATA_H