-
Notifications
You must be signed in to change notification settings - Fork 8
/
antigen-analysis.nb
15583 lines (15090 loc) · 845 KB
/
antigen-analysis.nb
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
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 8.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 157, 7]
NotebookDataLength[ 865376, 15574]
NotebookOptionsPosition[ 846022, 14967]
NotebookOutlinePosition[ 846521, 14987]
CellTagsIndexPosition[ 846478, 14984]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell["Analysis of Antigen output", "Title",
CellChangeTimes->{{3.504375617021294*^9, 3.5043756203331614`*^9}, {
3.5351008028622723`*^9, 3.535100804074026*^9}}],
Cell[CellGroupData[{
Cell["Basic parameters", "Section",
CellChangeTimes->{{3.506433338757928*^9, 3.506433342299314*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"demeCount", "=", "3"}], ";"}]], "Input",
CellChangeTimes->{{3.505056247940007*^9, 3.5050562505439463`*^9}, {
3.505077343933689*^9, 3.505077344612851*^9}, 3.505079874495204*^9,
3.505125476504837*^9, 3.5051271668228197`*^9, {3.5051280300184507`*^9,
3.50512803012912*^9}, {3.505332420345417*^9, 3.505332420479768*^9}, {
3.5053366735877113`*^9, 3.505336673760264*^9}, 3.505350231393561*^9,
3.505572236141646*^9, {3.505572358757605*^9, 3.505572371373966*^9}, {
3.505572707147809*^9, 3.505572707235094*^9}, 3.505573348607535*^9}],
Cell[BoxData[
RowBox[{
RowBox[{"demes", "=",
RowBox[{"{",
RowBox[{"\"\<north\>\"", ",", "\"\<tropics\>\"", ",", "\"\<south\>\""}],
"}"}]}], ";"}]], "Input",
CellChangeTimes->{{3.506432756814684*^9, 3.506432769508947*^9}, {
3.547368501780587*^9, 3.5473685057764874`*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"SetDirectory", "[",
RowBox[{"NotebookDirectory", "[", "]"}], "]"}]], "Input",
CellChangeTimes->{{3.506852884243376*^9, 3.506852890626034*^9}}],
Cell[BoxData["\<\"/Users/bedfordt/Dropbox/current-projects/antigen/example\"\>\
"], "Output",
CellChangeTimes->{{3.5068528910347633`*^9, 3.506852906072781*^9},
3.506852940661683*^9, 3.506853666084655*^9, 3.506853702907192*^9,
3.506854544861786*^9, 3.506854805656344*^9, 3.5068550701761312`*^9,
3.50686221204718*^9, 3.506862405457906*^9, 3.5068962461527767`*^9,
3.5068999128865643`*^9, 3.506938944483961*^9, 3.506943881921661*^9,
3.506953542750856*^9, 3.506954033246644*^9, 3.506958674195855*^9,
3.50695904432798*^9, 3.506959221621785*^9, 3.5069594753731203`*^9,
3.506959686194232*^9, 3.506960443293475*^9, 3.506960764017056*^9,
3.506960919793211*^9, 3.5069613515107183`*^9, 3.506961522617787*^9,
3.506961913489685*^9, 3.506962128953312*^9, 3.506962383321272*^9,
3.506962674398584*^9, 3.506963042887239*^9, 3.506963297345192*^9,
3.506963520549366*^9, 3.506963678691037*^9, 3.506969486110408*^9,
3.506969660435279*^9, 3.506969898705948*^9, 3.50697003782699*^9,
3.506970221227672*^9, 3.506970435571965*^9, 3.506970616382477*^9,
3.5069707956614637`*^9, 3.506972948271117*^9, 3.506973339237846*^9,
3.5069736289302893`*^9, 3.506973895160838*^9, 3.506974186160125*^9,
3.5069744862982483`*^9, 3.506974839323442*^9, {3.506975324655809*^9,
3.5069753326420813`*^9}, 3.506978866153715*^9, 3.50698534651582*^9,
3.506990666813076*^9, 3.506990905551059*^9, 3.5069912343300123`*^9,
3.506991416250638*^9, 3.5069917012412558`*^9, 3.5069920292901573`*^9,
3.506992229344603*^9, 3.5069930854811087`*^9, 3.506994530947904*^9,
3.5069947193063707`*^9, 3.506994848672762*^9, 3.506994980246648*^9, {
3.5069950175039*^9, 3.5069950272934513`*^9}, 3.50699513320186*^9,
3.5069953647913*^9, 3.506995976955694*^9, 3.506997549781036*^9, {
3.506997753814231*^9, 3.506997780734003*^9}, 3.507022388132146*^9,
3.507022748659615*^9, 3.5070229435744553`*^9, 3.5070231478370743`*^9,
3.507023308888247*^9, 3.507023487038525*^9, 3.5070236581730003`*^9,
3.50702386555202*^9, 3.507024086497767*^9, 3.507045011112906*^9,
3.507049388678643*^9, 3.507053906036728*^9, {3.507054239339179*^9,
3.507054245815425*^9}, 3.5070596750477943`*^9, 3.507074037643663*^9,
3.5071139799323*^9, 3.507119152141467*^9, 3.507142065985745*^9,
3.507142644877759*^9, 3.507142963135742*^9, 3.507143136894216*^9,
3.507143247342634*^9, 3.5072287707617397`*^9, 3.507328333955377*^9,
3.50733511731806*^9, {3.507400616211925*^9, 3.507400625787552*^9},
3.507402257892069*^9, 3.5074041539434347`*^9, 3.507419786074288*^9,
3.507422173988446*^9, 3.507456577109089*^9, 3.507459042132957*^9,
3.5074616302691193`*^9, 3.507465616960578*^9, 3.5074671043382072`*^9,
3.507468229979031*^9, 3.507468472216988*^9, 3.507473367252481*^9,
3.507478175233035*^9, 3.507479670234158*^9, {3.507562910111144*^9,
3.5075629294540367`*^9}, 3.50756333330691*^9, 3.507564074186933*^9,
3.507564593293242*^9, 3.507564876652561*^9, 3.507565029989678*^9,
3.5075652176937428`*^9, 3.507565416556514*^9, 3.507590723746698*^9,
3.5075960949334497`*^9, 3.5075961357426147`*^9, {3.507596770281734*^9,
3.5075967916239023`*^9}, 3.507597382902557*^9, 3.507597902634746*^9,
3.50759799704383*^9, 3.507598192587241*^9, 3.507639933585745*^9,
3.507646686598176*^9, 3.507647098813758*^9, 3.507649399641893*^9,
3.507649631284677*^9, 3.5076498679181767`*^9, 3.507650109128298*^9,
3.507650389126569*^9, 3.5076506523029423`*^9, 3.507650894405263*^9,
3.507651228104391*^9, 3.507651525723634*^9, 3.507651559253182*^9,
3.507652139260006*^9, 3.507652437798007*^9, 3.50765441376058*^9, {
3.5076551087816877`*^9, 3.5076551106813*^9}, 3.507655713896001*^9,
3.507656005173259*^9, 3.5076564112360687`*^9, 3.507656725036358*^9,
3.5076569956309967`*^9, 3.50765944889223*^9, 3.507659656700232*^9,
3.507659856271309*^9, 3.5076602927421207`*^9, 3.507660553095993*^9,
3.507660782105981*^9, 3.5076693048491364`*^9, 3.507669722880769*^9,
3.50766996153459*^9, 3.507675040296661*^9, 3.507675146170203*^9,
3.50767584784935*^9, 3.50772838485518*^9, 3.5078247056394243`*^9,
3.5078337414297667`*^9, 3.507842444786684*^9, 3.5078996272897253`*^9,
3.5078996864256697`*^9, 3.507899974939932*^9, 3.507902232685813*^9,
3.5079028360689497`*^9, 3.50790315574408*^9, 3.5079034666070127`*^9,
3.50790413993965*^9, 3.507904428201166*^9, 3.5079050321997013`*^9,
3.507905295109487*^9, 3.5079055441660833`*^9, 3.507905877568198*^9,
3.507906083396509*^9, 3.507906218239602*^9, 3.5079098053822947`*^9,
3.5079099501897383`*^9, 3.507910256537785*^9, 3.507910296184929*^9,
3.50791038875045*^9, 3.50791962452824*^9, 3.5079196944834843`*^9,
3.507988280096195*^9, 3.507990983368631*^9, 3.5079910532778873`*^9,
3.507991115199761*^9, 3.507991301155487*^9, 3.5079940639004927`*^9,
3.507997789056901*^9, 3.507998402592204*^9, 3.507998649519836*^9,
3.507998881246337*^9, 3.5079990924957237`*^9, 3.5079991670586147`*^9,
3.5079994323509617`*^9, 3.5079994900644693`*^9, 3.5079996754053926`*^9,
3.508000205591383*^9, 3.508000886785832*^9, 3.508003976767046*^9,
3.5080074451691437`*^9, 3.50800823212192*^9, 3.508009837392755*^9,
3.508010051507268*^9, 3.5080133894437723`*^9, 3.508065087170627*^9,
3.508066203094825*^9, 3.5080668805584803`*^9, 3.50807120544326*^9,
3.508073099061531*^9, 3.50807626066601*^9, 3.508077379823683*^9,
3.50807746791164*^9, 3.508082220160095*^9, 3.508083969132401*^9,
3.508096214995562*^9, 3.50809898581111*^9, 3.508102682248263*^9,
3.50810463425181*^9, 3.508112724015512*^9, 3.5081175020244293`*^9,
3.508151496923862*^9, 3.508154937594955*^9, 3.5081702200674562`*^9,
3.5081705420401*^9, 3.508170655452649*^9, 3.5081711454182453`*^9,
3.50817159283255*^9, 3.508171891203738*^9, 3.508172386040517*^9,
3.508172712851027*^9, 3.508173093492765*^9, 3.508173479453319*^9,
3.5082493011111507`*^9, 3.508605544534545*^9, 3.508605609755457*^9,
3.5086057474892893`*^9, 3.508606909377637*^9, 3.508607231483719*^9,
3.508607667523391*^9, 3.508623615130217*^9, 3.508626219916768*^9,
3.508626953552636*^9, 3.5086737520018873`*^9, 3.5086738697265797`*^9,
3.508673990247467*^9, 3.508674051548217*^9, 3.508675666995101*^9,
3.508676998516346*^9, 3.5086770561643972`*^9, {3.5086774758220654`*^9,
3.508677483645631*^9}, 3.5086777476535807`*^9, 3.508677783132888*^9,
3.508678108343869*^9, 3.508678355670429*^9, 3.508678655810458*^9,
3.5086814894588947`*^9, 3.5086896043625526`*^9, 3.508691838462688*^9,
3.508691919914651*^9, 3.508692029611012*^9, 3.508753145728141*^9,
3.508760568224419*^9, {3.508761629621517*^9, 3.508761641825121*^9},
3.508772189374339*^9, 3.508773926391625*^9, {3.508865617790781*^9,
3.5088656421932573`*^9}, 3.5088671328806877`*^9, {3.508867325239683*^9,
3.508867332781103*^9}, 3.5088674397391233`*^9, 3.5091251402620773`*^9,
3.509126016416353*^9, 3.509139132660309*^9, 3.5091394832619743`*^9,
3.5091398746145773`*^9, 3.509140310839905*^9, 3.50914061838029*^9,
3.509140975808978*^9, 3.509141461160019*^9, 3.509141850881106*^9,
3.509142165241951*^9, 3.509142485069792*^9, {3.509193971304178*^9,
3.509193990017838*^9}, 3.509194034556364*^9, 3.509195148965268*^9,
3.509195256126481*^9, 3.513529560830752*^9, 3.517225614711321*^9,
3.517231984658847*^9, 3.517232016522962*^9, 3.5172323830890493`*^9,
3.5172326354203253`*^9, 3.517232708981391*^9, 3.517311513017797*^9,
3.517572742153675*^9, 3.517572805654128*^9, 3.517635104580351*^9,
3.517652328556263*^9, {3.5176546629402027`*^9, 3.51765466843504*^9},
3.5176547943355417`*^9, 3.517663832533477*^9, {3.517664523454307*^9,
3.517664525939196*^9}, {3.51766462627808*^9, 3.51766462823145*^9},
3.51772813912435*^9, 3.517746869175569*^9, 3.5178292924963493`*^9,
3.517913959914688*^9, 3.5179139999600687`*^9, {3.517921746503785*^9,
3.5179217616364603`*^9}, 3.517923661778068*^9, 3.518154877772253*^9,
3.518158750511001*^9, 3.518161613603866*^9, 3.518162655655439*^9,
3.518164851088735*^9, 3.518164905881534*^9, 3.518176944766596*^9,
3.518181957776515*^9, 3.5182395526534367`*^9, 3.5182450227199*^9,
3.5182451511877613`*^9, {3.5182497288520317`*^9, 3.518249743194912*^9}, {
3.518250504540636*^9, 3.5182505138502398`*^9}, 3.5182646202104053`*^9,
3.518271996191745*^9, 3.518328449950983*^9, 3.518332257917933*^9,
3.5183420581099777`*^9, 3.518347268224218*^9, 3.5183474667649107`*^9,
3.518347663852778*^9, 3.5184263048201447`*^9, 3.518426678677652*^9,
3.518426784170627*^9, 3.518427117567334*^9, 3.518427425773622*^9,
3.5184314943174343`*^9, 3.518431770139473*^9, 3.518431803422308*^9,
3.51843195454869*^9, 3.518432177185915*^9, 3.518436250795038*^9,
3.5184365912020597`*^9, 3.518436822775202*^9, 3.518436959233219*^9,
3.518437164215261*^9, 3.518437797242857*^9, 3.518438484991726*^9,
3.518499768633429*^9, 3.5185018681166897`*^9, 3.518501928463912*^9,
3.518502311397627*^9, 3.518508343890273*^9, 3.5185085957996283`*^9,
3.518508777313324*^9, {3.518508811005786*^9, 3.518508827471322*^9},
3.518509853328703*^9, 3.518509911788005*^9, 3.518510625784329*^9,
3.518510809292684*^9, 3.518510856358254*^9, 3.5185109189887323`*^9,
3.518511148245809*^9, 3.518513219106286*^9, 3.51851356605484*^9,
3.51851844257082*^9, 3.518521022429503*^9, 3.5185210816741858`*^9,
3.5185211137426434`*^9, 3.518521209974448*^9, 3.518767435868537*^9,
3.519022510118981*^9, 3.5190226015190563`*^9, 3.5191049406866827`*^9,
3.5191055411115217`*^9, 3.5191058084403353`*^9, 3.5191206122839127`*^9,
3.519363975877054*^9, 3.5193640892253933`*^9, 3.519364193249095*^9,
3.519364717313163*^9, 3.519364959800412*^9, 3.519365483627849*^9,
3.5193687050213823`*^9, 3.519368817187171*^9, 3.519369265341483*^9,
3.5193701140081377`*^9, 3.5193712571310987`*^9, 3.519622393565187*^9,
3.5197156443521833`*^9, 3.519719053323111*^9, 3.51973036500173*^9,
3.519819592839077*^9, 3.519822275977659*^9, 3.519822394844346*^9,
3.519824080903211*^9, 3.519824129822946*^9, 3.5199005180739927`*^9,
3.519911246960096*^9, 3.519911283162657*^9, 3.520056596115209*^9,
3.520056670744567*^9, 3.520056946410385*^9, 3.520057075228094*^9,
3.5200588651943274`*^9, 3.5200589313459597`*^9, 3.520059270402605*^9,
3.5200595162565317`*^9, 3.5200605778833647`*^9, 3.520060611649994*^9,
3.520061520230482*^9, 3.520061618040277*^9, 3.520061727447049*^9,
3.5200617712935743`*^9, 3.520062112539432*^9, 3.520063260495387*^9,
3.520063415172839*^9, 3.520063466510644*^9, 3.5200635714206953`*^9,
3.520063664101022*^9, 3.520064433621937*^9, {3.520064548256556*^9,
3.520064563540943*^9}, 3.520064632478485*^9, 3.52006489054636*^9,
3.520065496944991*^9, 3.520065695218939*^9, 3.520065810640861*^9,
3.520068684153853*^9, 3.5200692242675123`*^9, 3.520071619870902*^9,
3.521285439042507*^9, 3.5212898840399647`*^9, {3.5245625473957777`*^9,
3.524562559603854*^9}, 3.525526531099678*^9, 3.534250843363748*^9,
3.537253437003931*^9, 3.537261220655933*^9, 3.537261268192419*^9,
3.537262149211762*^9, 3.537262423477207*^9, 3.537263722600464*^9,
3.537264693616662*^9, 3.537265079807028*^9, 3.537265552942849*^9,
3.5372657834565897`*^9, 3.5372693176463118`*^9, 3.5372701575540524`*^9,
3.537272100322537*^9, 3.5372755127924147`*^9, 3.5372768309833593`*^9,
3.537276871033525*^9, 3.544051116107698*^9, 3.5473666141822023`*^9,
3.547372444950787*^9, 3.547373855466196*^9, 3.548514688964892*^9,
3.548515975460498*^9, 3.548516418985813*^9, 3.5485662911209106`*^9,
3.5485716009954777`*^9, 3.54857204461019*^9, 3.5502261958832006`*^9,
3.550226511268735*^9, {3.602192657424789*^9, 3.6021926764998817`*^9},
3.6021927537708797`*^9, 3.602214014934711*^9, 3.60221443332388*^9,
3.602214670303207*^9, 3.602214842931656*^9, 3.602215269043741*^9,
3.602215576881617*^9}]
}, Open ]],
Cell[BoxData[
RowBox[{
RowBox[{"spatialColors", "=",
RowBox[{"{",
RowBox[{
RowBox[{"RGBColor", "[",
RowBox[{"0.765", ",", "0.728", ",", "0.274"}], "]"}], ",",
RowBox[{"RGBColor", "[",
RowBox[{"0.324", ",", "0.609", ",", "0.708"}], "]"}], ",",
RowBox[{"RGBColor", "[",
RowBox[{"0.857", ",", "0.131", ",", "0.132"}], "]"}]}], "}"}]}],
";"}]], "Input",
CellChangeTimes->{{3.455283867214754*^9, 3.4552839048622*^9}, {
3.465431535550824*^9, 3.4654315432602587`*^9}, {3.465431833927477*^9,
3.465431837578524*^9}, {3.504990215337255*^9, 3.504990218013706*^9},
3.50532439716389*^9}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"spatialColors", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"#", ",", "0.1"}], "]"}], "&"}], ",", "spatialColors"}],
"]"}]}]], "Input",
CellChangeTimes->{{3.508852687314262*^9, 3.508852706482682*^9}}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"RGBColor", "[",
RowBox[{"0.7885`", ",", "0.7552`", ",", "0.3466`"}], "]"}], ",",
RowBox[{"RGBColor", "[",
RowBox[{"0.3916`", ",", "0.6481`", ",", "0.7372`"}], "]"}], ",",
RowBox[{"RGBColor", "[",
RowBox[{"0.8713`", ",", "0.2179`", ",", "0.2188`"}], "]"}]}],
"}"}]], "Output",
CellChangeTimes->{{3.508852692120858*^9, 3.5088527068359613`*^9}, {
3.508865617952764*^9, 3.508865642324431*^9}, 3.508867133011176*^9, {
3.508867325406424*^9, 3.5088673329455423`*^9}, 3.508867439869788*^9,
3.509125140436562*^9, 3.509126016613944*^9, 3.509139132889482*^9,
3.509139483411344*^9, 3.5091398748045807`*^9, 3.50914031100537*^9,
3.509140618541402*^9, 3.509140975957831*^9, 3.509141461330443*^9,
3.509141851044532*^9, 3.509142165411401*^9, 3.509142485238134*^9, {
3.5091939714382753`*^9, 3.5091939901644983`*^9}, 3.50919403472219*^9,
3.5091951491190434`*^9, 3.509195256245172*^9, 3.5135295612346697`*^9,
3.517225614991165*^9, 3.517231984826765*^9, 3.5172320167440767`*^9,
3.517232383330991*^9, 3.517232635605728*^9, 3.517232709183384*^9,
3.5173115133260603`*^9, 3.517572742285677*^9, 3.517572805838149*^9,
3.517635104721691*^9, 3.51765232875841*^9, {3.517654663282076*^9,
3.517654668619776*^9}, 3.517654794520666*^9, 3.517663832665759*^9,
3.517664526072253*^9, 3.517664628362399*^9, 3.5177281393111153`*^9,
3.51774686928612*^9, 3.517829292657391*^9, 3.517913960048785*^9,
3.517914000091474*^9, {3.5179217466358643`*^9, 3.517921761768135*^9},
3.5179236619093437`*^9, 3.518154877909726*^9, 3.518158750641268*^9,
3.518161613734584*^9, 3.5181626557858562`*^9, 3.5181648512397337`*^9,
3.518164906078813*^9, 3.518176944897213*^9, 3.518181958058424*^9,
3.518239553025923*^9, 3.518245022852336*^9, 3.518245151320607*^9, {
3.5182497290658216`*^9, 3.518249743427696*^9}, {3.518250504671767*^9,
3.518250513986938*^9}, 3.518264620340749*^9, 3.5182719963656797`*^9,
3.518328450213105*^9, 3.518332258018107*^9, 3.518342058333637*^9,
3.518347268373982*^9, 3.518347466864785*^9, 3.518347663987216*^9,
3.518426304954018*^9, 3.5184266788092318`*^9, 3.5184267843198967`*^9,
3.518427117735421*^9, 3.518427425907127*^9, 3.5184314944860153`*^9,
3.518431770337023*^9, 3.518431803554524*^9, 3.51843195466533*^9,
3.518432177314846*^9, 3.518436251099927*^9, 3.5184365913327627`*^9,
3.5184368229075003`*^9, 3.518436959348921*^9, 3.518437164347164*^9,
3.518437797575523*^9, 3.5184384851260777`*^9, 3.5184997689622173`*^9,
3.518501868232502*^9, 3.518501928664941*^9, 3.518502311512619*^9,
3.518508344054566*^9, 3.518508595931601*^9, 3.518508777686164*^9, {
3.5185088111266413`*^9, 3.518508827591308*^9}, 3.518509853443157*^9,
3.518509911920326*^9, 3.51851062591686*^9, 3.518510809405941*^9,
3.518510856472515*^9, 3.51851091910471*^9, 3.5185111483977003`*^9,
3.518513219237216*^9, 3.51851356621698*^9, 3.51851844270152*^9,
3.5185210225784063`*^9, 3.518521081805649*^9, 3.518521113887835*^9,
3.518521210138783*^9, 3.518767436016197*^9, 3.519022510769805*^9,
3.5190226016857023`*^9, 3.519104940832209*^9, 3.519105541226933*^9,
3.519105808624902*^9, 3.519120612485461*^9, 3.519363976071866*^9,
3.519364089456458*^9, 3.519364193412046*^9, 3.519364717494623*^9,
3.519364959997588*^9, 3.5193654837925453`*^9, 3.519368705169248*^9,
3.519368817319718*^9, 3.519369265468976*^9, 3.51937011415534*^9,
3.519371257332102*^9, 3.519622393764949*^9, 3.519715644499689*^9,
3.519719053437648*^9, 3.5197303651197443`*^9, 3.519819592971773*^9,
3.519822276119501*^9, 3.5198223949615517`*^9, 3.519824081035668*^9,
3.519824130004209*^9, 3.519900518414187*^9, 3.519911247143322*^9,
3.519911283279675*^9, 3.520056596506816*^9, 3.520056670887289*^9,
3.520056946540646*^9, 3.520057075358861*^9, 3.5200588653268623`*^9,
3.52005893146183*^9, 3.5200592705668383`*^9, 3.520059516387858*^9,
3.520060578063779*^9, 3.520060611763852*^9, 3.520061520344829*^9,
3.5200616181708813`*^9, 3.520061727579338*^9, 3.520061771424307*^9,
3.5200621126986094`*^9, 3.5200632606605377`*^9, 3.520063415304453*^9,
3.520063466742704*^9, 3.520063571552341*^9, 3.52006366435005*^9,
3.5200644337499323`*^9, {3.520064548371504*^9, 3.5200645637047853`*^9},
3.520064632642329*^9, 3.520064890678152*^9, 3.5200654971109333`*^9,
3.520065695334807*^9, 3.520065810803236*^9, 3.5200686842865753`*^9,
3.520069224382661*^9, 3.5200716200134573`*^9, 3.521285439188675*^9,
3.521289884240497*^9, {3.5245625477906103`*^9, 3.52456255971915*^9},
3.525526531341401*^9, 3.534250843933775*^9, 3.537253438629958*^9,
3.5372612223093367`*^9, 3.5372612684411373`*^9, 3.537262149455885*^9,
3.537262423759056*^9, 3.537263722854681*^9, 3.537264693777264*^9,
3.537265079972149*^9, 3.537265553192005*^9, 3.537265783708351*^9,
3.537269318544154*^9, 3.5372701576860456`*^9, 3.537272100532463*^9,
3.537276831168026*^9, 3.537276871178728*^9, 3.544051116666979*^9,
3.547366614434238*^9, 3.5473724454361553`*^9, 3.547373855747752*^9,
3.548514689198473*^9, 3.548515975707663*^9, 3.5485164192670193`*^9,
3.548566291365641*^9, 3.548571601172962*^9, 3.548572044760776*^9,
3.55022619605578*^9, 3.550226511400272*^9, {3.602192657654599*^9,
3.602192676598832*^9}, 3.6021927539030943`*^9, 3.6022140150149727`*^9,
3.602214433457649*^9, 3.602214670382316*^9, 3.6022148430148897`*^9,
3.602215269121695*^9, 3.602215576962405*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Graphics", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"PointSize", "[", "0.2", "]"}], ",",
RowBox[{"MapIndexed", "[",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{"#1", ",",
RowBox[{"Point", "[",
RowBox[{"{",
RowBox[{
RowBox[{"#2", "[",
RowBox[{"[", "1", "]"}], "]"}], ",", "0"}], "}"}], "]"}]}],
"}"}], "&"}], ",", "spatialColors"}], "]"}]}], "}"}], ",",
RowBox[{"PlotRange", "\[Rule]", "All"}], ",",
RowBox[{"AspectRatio", "\[Rule]", "0.3"}], ",",
RowBox[{"ImageSize", "\[Rule]", "200"}]}], "]"}]], "Input",
CellChangeTimes->{{3.504990088711396*^9, 3.504990200013027*^9},
3.5053244194442263`*^9, {3.506853701006537*^9, 3.506853701613461*^9}}],
Cell[BoxData[
GraphicsBox[
{PointSize[0.2],
{RGBColor[0.7885, 0.7552, 0.3466], PointBox[{1, 0}]},
{RGBColor[0.3916, 0.6481, 0.7372], PointBox[{2, 0}]},
{RGBColor[0.8713, 0.2179, 0.2188], PointBox[{3, 0}]}},
AspectRatio->0.3,
FrameStyle->GrayLevel[0],
FrameTicksStyle->GrayLevel[0],
ImageSize->200,
LabelStyle->Directive[
GrayLevel[0], FontSize -> 9, FontFamily -> "Helvetica"],
PlotRange->All]], "Output",
CellChangeTimes->{{3.504990092114133*^9, 3.504990219163974*^9},
3.504992266083798*^9, 3.504992639815763*^9, 3.504993793057415*^9,
3.5049990111570253`*^9, 3.505000397664564*^9, 3.50500180643021*^9,
3.5050032214424677`*^9, 3.505036595986812*^9, {3.505037924213586*^9,
3.505037941130383*^9}, 3.505039203093978*^9, 3.505039387686976*^9,
3.505047416928287*^9, 3.505052021095636*^9, 3.505053586301732*^9,
3.505054097720798*^9, 3.5050550660390797`*^9, 3.505055376293583*^9,
3.505055689444178*^9, 3.505056206168295*^9, 3.50505639504843*^9,
3.505056465217339*^9, 3.505056684303356*^9, 3.505056907730569*^9,
3.505057265080909*^9, 3.505057495795905*^9, 3.505057954233253*^9,
3.505059545074603*^9, 3.505062055454939*^9, 3.50506384357897*^9,
3.5050645419711742`*^9, 3.5050668209121523`*^9, 3.5050699291742477`*^9,
3.5050737929399652`*^9, {3.5050773232379*^9, 3.50507734710144*^9},
3.505078918936311*^9, 3.505079877654792*^9, 3.505079934768486*^9,
3.5050803573474503`*^9, 3.5050811326367407`*^9, 3.505083233116775*^9,
3.505083741147093*^9, 3.505085866152761*^9, 3.505086404415316*^9,
3.505086899934353*^9, 3.505087323988885*^9, 3.505088093431983*^9,
3.5050884453735027`*^9, 3.505089874199822*^9, 3.5050904918063297`*^9,
3.505090790328265*^9, 3.505091303787566*^9, 3.5050917506222477`*^9,
3.50509248861627*^9, 3.505093323437441*^9, 3.505094563961955*^9,
3.5051241505927353`*^9, 3.505124591909686*^9, 3.5051249900387087`*^9, {
3.505125465906884*^9, 3.5051254784984493`*^9}, 3.505126127538971*^9,
3.50512637256949*^9, 3.505127003809423*^9, 3.505127168232068*^9,
3.5051278635621653`*^9, 3.5051282272769203`*^9, 3.505130645934866*^9,
3.505130853210484*^9, 3.5051316278528023`*^9, 3.505132137755797*^9,
3.5051347492905083`*^9, 3.505135105910698*^9, 3.505147179352215*^9,
3.505154426848282*^9, 3.505157307294178*^9, 3.505157343063368*^9,
3.505215002892243*^9, 3.505215436905656*^9, 3.50522753660993*^9,
3.5052295692400084`*^9, 3.505229682671463*^9, 3.505231150420209*^9,
3.505231324682329*^9, 3.505255673559547*^9, 3.505316861877927*^9,
3.50531712518843*^9, {3.5053244014353037`*^9, 3.5053244201528788`*^9},
3.505325077228538*^9, 3.505328217678289*^9, 3.5053284096402817`*^9,
3.5053286211332283`*^9, 3.5053289294933653`*^9, 3.505331083019219*^9,
3.505331124048232*^9, 3.505331903598604*^9, 3.505332455995905*^9,
3.50533262353493*^9, 3.505333494674211*^9, 3.505333706897132*^9,
3.505334314513475*^9, 3.505336148714006*^9, 3.50533638881324*^9,
3.50533688839964*^9, 3.505337322190673*^9, 3.505350232985154*^9,
3.505350759287815*^9, 3.505351104649148*^9, 3.505389111820924*^9,
3.505389909021368*^9, 3.5053900103685007`*^9, 3.505391488882555*^9, {
3.5053930736138144`*^9, 3.50539309976055*^9}, 3.5053953093151503`*^9,
3.505397452765399*^9, 3.505404462218144*^9, 3.505405645734357*^9,
3.505405758008959*^9, 3.505433350753252*^9, 3.505434320256393*^9,
3.50549254813723*^9, 3.505492761176715*^9, 3.505492892863059*^9,
3.505493626878982*^9, 3.505494296608589*^9, 3.5054946106079597`*^9,
3.5054949805378838`*^9, 3.505495650406653*^9, 3.505495772396263*^9,
3.505495943115553*^9, 3.505496287107586*^9, 3.505496537060643*^9,
3.505497002407757*^9, 3.505497997753716*^9, 3.505498517691202*^9,
3.505498983705965*^9, 3.5055041371213217`*^9, 3.5055090228128977`*^9,
3.505570372333037*^9, 3.505570472285761*^9, 3.5055706628090467`*^9,
3.505571057024643*^9, 3.505571193042673*^9, 3.505571723744652*^9, {
3.505572298572225*^9, 3.505572491410246*^9}, 3.5055727013972816`*^9,
3.5055730253232527`*^9, 3.50557335621222*^9, 3.505574126416201*^9,
3.505574806082464*^9, 3.5055749750984707`*^9, 3.5055751699533987`*^9,
3.505576870297554*^9, 3.505579176337829*^9, 3.505579523066264*^9,
3.50566697440974*^9, 3.50566724102225*^9, 3.505673009300743*^9,
3.505673623694398*^9, 3.505674496112645*^9, 3.505674616432994*^9,
3.50567476503658*^9, 3.505674920845306*^9, 3.505675150246274*^9,
3.505675559975127*^9, 3.505676075229838*^9, 3.505676628361412*^9,
3.505676679949458*^9, 3.505676966575149*^9, 3.5056771461819763`*^9,
3.505677673297407*^9, 3.505678004528392*^9, 3.5056788766183147`*^9,
3.505679127846113*^9, 3.505679296881298*^9, 3.505679777576926*^9,
3.505679957113262*^9, 3.5056800810732403`*^9, 3.505680716070182*^9,
3.505685142263585*^9, 3.50572737572173*^9, 3.505729049305398*^9,
3.505729383144732*^9, 3.5057297467382*^9, 3.5057300748465433`*^9,
3.505730614228026*^9, 3.505731188250647*^9, 3.5057313576626167`*^9,
3.505733943527122*^9, 3.505734234599925*^9, 3.50573563389843*^9,
3.5057357149413233`*^9, 3.50573858694418*^9, 3.505738764464184*^9,
3.505738899829831*^9, 3.505739280026428*^9, 3.5057394731183443`*^9,
3.505740451606394*^9, 3.505741151735106*^9, 3.505741575873706*^9,
3.505742381448085*^9, 3.505743417667996*^9, 3.505745571897922*^9,
3.5057515861535463`*^9, 3.505752893841611*^9, 3.505753535124053*^9,
3.5057538752008057`*^9, 3.505754164637658*^9, 3.505755387481052*^9,
3.5057589777711678`*^9, 3.505760214563252*^9, 3.5057608984770107`*^9, {
3.505761150024374*^9, 3.505761179465766*^9}, 3.505762188426257*^9,
3.505763924866929*^9, 3.505763966370586*^9, 3.50576408136726*^9,
3.505764401961104*^9, 3.5057686976310062`*^9, 3.505770393928761*^9,
3.505771973024535*^9, 3.5058223261160393`*^9, 3.505824890208117*^9,
3.505834093133635*^9, 3.50584035445218*^9, {3.5058421186111803`*^9,
3.505842131571931*^9}, 3.505842898254943*^9, 3.505843502855102*^9,
3.505844209834115*^9, 3.5058451969031067`*^9, 3.505849856221924*^9,
3.505854426839231*^9, 3.505856157118552*^9, 3.5058565530462646`*^9,
3.505857156134426*^9, 3.5058576993528967`*^9, 3.5058579737797117`*^9,
3.505858387883697*^9, 3.505858920008006*^9, 3.505860164574893*^9,
3.505861641450034*^9, 3.505862102676627*^9, 3.50586402314717*^9,
3.505864839133832*^9, 3.505867419463668*^9, 3.505868452538412*^9,
3.5058695439219847`*^9, 3.505907045254302*^9, 3.505908961180726*^9,
3.505910625241935*^9, 3.50591315060469*^9, 3.505918183276124*^9,
3.505919050129693*^9, 3.505919118529092*^9, 3.505926140306802*^9, {
3.505926272243039*^9, 3.505926297709034*^9}, {3.5059263576256638`*^9,
3.5059263928949547`*^9}, {3.505926452246234*^9, 3.505926644504595*^9}, {
3.505926857607623*^9, 3.5059269211160297`*^9}, 3.505928913678645*^9, {
3.505929048479751*^9, 3.50592908272784*^9}, 3.505932933459853*^9,
3.505934543402717*^9, 3.505953573301516*^9, 3.505963249329199*^9,
3.505994477188731*^9, 3.506010183820673*^9, 3.506041645810989*^9,
3.506073342023188*^9, 3.5060822274850683`*^9, 3.5060877842280827`*^9,
3.506089356551999*^9, 3.506092793794159*^9, 3.506093982353619*^9,
3.5060993408405943`*^9, 3.506100315900488*^9, 3.506102799262209*^9,
3.506103668437035*^9, 3.506104421110754*^9, 3.506104908157148*^9,
3.506105627420044*^9, 3.5061071344547443`*^9, 3.506132245733881*^9,
3.506132870038851*^9, 3.50613342015727*^9, 3.506160031601261*^9,
3.506161867838402*^9, 3.506165788300304*^9, 3.506190728832836*^9,
3.506191435712532*^9, 3.506192226314616*^9, 3.5061936006787148`*^9,
3.5061964878140087`*^9, 3.506198126634197*^9, 3.506198977147387*^9,
3.506200257808847*^9, 3.506206580738508*^9, 3.506206614001603*^9,
3.506207924431793*^9, 3.5062091924701023`*^9, 3.506210403451375*^9,
3.5062116991610117`*^9, 3.506213997205741*^9, 3.506215341529935*^9,
3.506216714627399*^9, 3.506246062732398*^9, 3.506247851769359*^9,
3.506249062262992*^9, 3.506253147926126*^9, 3.5062554816393213`*^9,
3.506277196949307*^9, 3.506278593937561*^9, 3.506280843771666*^9,
3.506280989641803*^9, 3.506282103073084*^9, 3.5062996230816298`*^9,
3.5062997808037558`*^9, 3.506301428124351*^9, 3.506302834351729*^9,
3.5063044138186502`*^9, 3.506332865972672*^9, 3.5063526973888493`*^9,
3.506432856015154*^9, 3.5064333599944153`*^9, 3.506439910837014*^9,
3.506519386382189*^9, 3.506524960833066*^9, 3.506607114554802*^9,
3.506620094381606*^9, 3.5066261715344687`*^9, 3.506629307806839*^9,
3.506633079497081*^9, 3.506635739477064*^9, 3.506643911170342*^9,
3.506678235607457*^9, 3.5066889380192127`*^9, 3.5067006380882473`*^9,
3.506700985439086*^9, 3.50670480269576*^9, 3.506708666836075*^9,
3.506708894798996*^9, 3.50671224132301*^9, 3.506774607150145*^9,
3.50678476222698*^9, {3.506852877854558*^9, 3.506852906228619*^9},
3.506852940828185*^9, 3.5068536662182627`*^9, 3.5068537030399323`*^9,
3.506854545043839*^9, 3.5068548058408337`*^9, 3.5068550703602543`*^9,
3.5068622121631117`*^9, 3.506862405642277*^9, 3.506896246334425*^9,
3.5068999130338087`*^9, 3.506938944645409*^9, 3.506943882086597*^9,
3.506953542886067*^9, 3.506954033381405*^9, 3.50695867430932*^9,
3.506959044444645*^9, 3.506959221756021*^9, 3.506959475521402*^9,
3.506959686327347*^9, 3.506960443427331*^9, 3.506960764155951*^9,
3.506960919930125*^9, 3.506961351646082*^9, 3.5069615227343597`*^9,
3.5069619136289873`*^9, 3.506962129085865*^9, 3.506962383489609*^9,
3.506962674599785*^9, 3.506963043052477*^9, 3.5069632975005827`*^9,
3.506963520687551*^9, 3.506963678830171*^9, 3.506969486264214*^9,
3.506969660551176*^9, 3.5069698988356733`*^9, 3.506970037980497*^9,
3.506970221427865*^9, 3.506970435707152*^9, 3.506970616515916*^9,
3.506970795792666*^9, 3.506972948433968*^9, 3.50697333942773*^9,
3.506973629126823*^9, 3.5069738952949743`*^9, 3.506974186328931*^9,
3.5069744864566107`*^9, 3.506974839456603*^9, 3.506975332773691*^9,
3.506978866286064*^9, 3.506985346949428*^9, 3.5069906670163403`*^9,
3.50699090573377*^9, 3.506991234493929*^9, 3.506991416419641*^9,
3.506991701377219*^9, 3.506992029421028*^9, 3.506992229484692*^9,
3.506993085628025*^9, 3.506994531081636*^9, 3.506994719420507*^9,
3.506994848861926*^9, 3.506994980386642*^9, {3.506995017639339*^9,
3.5069950274291487`*^9}, 3.5069951333493347`*^9, 3.506995364960259*^9,
3.50699597709551*^9, 3.506997550023881*^9, {3.506997753981812*^9,
3.506997780864334*^9}, 3.507022388342627*^9, 3.5070227488112507`*^9,
3.5070229437058887`*^9, 3.50702314797685*^9, 3.507023309040928*^9,
3.507023487205305*^9, 3.507023658313282*^9, 3.507023865687458*^9,
3.507024086637258*^9, 3.5070450112428513`*^9, 3.507049388811647*^9,
3.5070539061735973`*^9, {3.5070542394908037`*^9, 3.507054245930159*^9},
3.507059675178577*^9, 3.5070740377727747`*^9, 3.507113980351511*^9,
3.507119152248654*^9, 3.5071420664020653`*^9, 3.5071426450419064`*^9,
3.507142963266301*^9, 3.5071431370079947`*^9, 3.507143247458709*^9,
3.507228770876665*^9, 3.507328334061974*^9, 3.507335117464932*^9, {
3.507400616317129*^9, 3.50740062591225*^9}, 3.50740225799876*^9,
3.507404154076481*^9, 3.5074197861899157`*^9, 3.507422174810589*^9,
3.507456577321859*^9, 3.5074590422587643`*^9, 3.5074616303793592`*^9,
3.507465617304491*^9, 3.50746710443974*^9, 3.507468230160755*^9,
3.5074684723166323`*^9, 3.507473367502757*^9, 3.507478175364409*^9,
3.5074796703488703`*^9, {3.507562910569983*^9, 3.5075629296233892`*^9},
3.507563333440956*^9, 3.5075640743347282`*^9, 3.507564593441839*^9,
3.5075648768345213`*^9, 3.5075650301555643`*^9, 3.507565217843285*^9,
3.507565416705894*^9, 3.5075907239014187`*^9, 3.5075960950969467`*^9,
3.507596135910902*^9, {3.507596770395897*^9, 3.507596791805002*^9},
3.507597383051696*^9, 3.507597902749876*^9, 3.507597997215263*^9,
3.507598192854*^9, 3.507639933798053*^9, 3.5076466867357492`*^9,
3.5076470989290943`*^9, 3.507649399794836*^9, 3.5076496314174623`*^9,
3.5076498680521812`*^9, 3.5076501092753363`*^9, 3.50765038929712*^9,
3.507650652469535*^9, 3.5076508945212917`*^9, 3.507651228256474*^9,
3.507651525912025*^9, 3.507651559369577*^9, 3.507652139385824*^9,
3.5076524379670973`*^9, 3.5076544139233217`*^9, 3.507655110797062*^9,
3.507655714010045*^9, 3.5076560053125362`*^9, 3.507656411350933*^9,
3.507656725222414*^9, 3.5076569957482452`*^9, 3.507659449060658*^9,
3.507659656816547*^9, 3.507659856403019*^9, 3.507660292879322*^9,
3.507660553246861*^9, 3.507660782223146*^9, 3.507669304984129*^9,
3.5076697230159388`*^9, 3.5076699616874113`*^9, 3.507675040464858*^9,
3.5076751462868147`*^9, 3.5076758479840813`*^9, 3.507728385050712*^9,
3.507824705804678*^9, 3.5078337416316843`*^9, 3.507842444919207*^9,
3.507899627764669*^9, 3.507899686555358*^9, 3.507899975068364*^9,
3.507902232871353*^9, 3.507902836265905*^9, 3.507903155939473*^9,
3.5079034667881002`*^9, 3.507904140071422*^9, 3.5079044283882236`*^9,
3.507905032335487*^9, 3.507905295341241*^9, 3.507905544300786*^9,
3.507905877700534*^9, 3.5079060835789347`*^9, 3.5079062183760853`*^9,
3.507909805549114*^9, 3.507909950322893*^9, 3.507910256736586*^9,
3.5079102963212843`*^9, 3.507910388965061*^9, 3.507919624670265*^9,
3.5079196946632032`*^9, 3.5079882802580557`*^9, 3.507990983518509*^9,
3.507991053463719*^9, 3.507991115383265*^9, 3.507991301338397*^9,
3.507994064181837*^9, 3.507997789236655*^9, 3.507998402808537*^9,
3.5079986496983557`*^9, 3.507998881431436*^9, 3.507999092628096*^9,
3.5079991671920156`*^9, 3.50799943248363*^9, 3.507999490179884*^9,
3.507999675573029*^9, 3.508000205775584*^9, 3.508000886935919*^9,
3.508003977073327*^9, 3.508007445300809*^9, 3.5080082322528152`*^9,
3.508009838009686*^9, 3.5080100516546783`*^9, 3.508013389586774*^9,
3.5080650873058968`*^9, 3.508066203208419*^9, 3.5080668806916447`*^9,
3.5080712055733137`*^9, 3.50807309917831*^9, 3.508076260798168*^9,
3.5080773799820747`*^9, 3.508077468041215*^9, 3.508082220293993*^9,
3.5080839692630577`*^9, 3.508096215160101*^9, 3.508098985979005*^9,
3.508102682412887*^9, 3.508104634434506*^9, 3.508112724146419*^9,
3.508117502174347*^9, 3.508151497086994*^9, 3.508154937740796*^9,
3.508170220198695*^9, 3.508170542176092*^9, 3.508170655585093*^9,
3.508171145549836*^9, 3.508171592949772*^9, 3.508171891355241*^9,
3.5081723861719217`*^9, 3.508172712990193*^9, 3.508173093641814*^9,
3.508173479590124*^9, 3.5082493012252417`*^9, 3.5086055446490517`*^9,
3.50860560989161*^9, 3.5086057476218853`*^9, 3.508606909509663*^9,
3.508607231616837*^9, 3.5086076676546164`*^9, 3.508623615296701*^9,
3.508626220268187*^9, 3.508626953693593*^9, 3.508673752164569*^9,
3.5086738698252068`*^9, 3.508673990346079*^9, 3.508674051685132*^9,
3.50867566713865*^9, 3.5086769986324997`*^9, 3.508677056263311*^9, {
3.5086774759219713`*^9, 3.5086774837784357`*^9}, 3.508677747769691*^9,
3.508677783282672*^9, 3.508678108476441*^9, 3.5086783558030767`*^9,
3.50867865596282*^9, 3.508681489570959*^9, 3.508689604494356*^9,
3.508691838595479*^9, 3.508691920013156*^9, 3.5086920297241163`*^9,
3.508753145866742*^9, 3.508760568347843*^9, {3.508761629740115*^9,
3.508761641957725*^9}, 3.508772189799617*^9, 3.508773926522534*^9,
3.5088527076047773`*^9, {3.508865618015407*^9, 3.5088656423851433`*^9},
3.5088671330726013`*^9, {3.5088673254725237`*^9, 3.508867333026463*^9},
3.508867439933379*^9, 3.5091251404919443`*^9, 3.509126016674168*^9,
3.509139132934043*^9, 3.509139483475771*^9, 3.509139874874854*^9,
3.509140311069913*^9, 3.509140618604582*^9, 3.509140976022462*^9,
3.509141461386463*^9, 3.5091418511016617`*^9, 3.509142165469352*^9,
3.5091424852990932`*^9, {3.509193971489995*^9, 3.509193990222842*^9},
3.509194034784378*^9, 3.509195149180039*^9, 3.509195256278471*^9,
3.513529561396137*^9, 3.517225615043457*^9, 3.517231984902913*^9,
3.517232016816319*^9, 3.5172323833860598`*^9, 3.517232635682927*^9,
3.517232709242799*^9, 3.517311513370524*^9, 3.517572742344475*^9,
3.517572805916339*^9, 3.517635104763517*^9, 3.517652328798057*^9, {
3.517654663326486*^9, 3.51765466868476*^9}, 3.517654794584201*^9,
3.5176638327255497`*^9, 3.5176645261325893`*^9, 3.5176646284257317`*^9,
3.517728139374206*^9, 3.517746869347818*^9, 3.5178292927063704`*^9,
3.517913960102742*^9, 3.517914000149823*^9, {3.5179217466929417`*^9,
3.5179217618222017`*^9}, 3.517923661964602*^9, 3.518154877960189*^9,
3.518158750704177*^9, 3.518161613789901*^9, 3.5181626558419027`*^9,
3.5181648513003893`*^9, 3.5181649061208887`*^9, 3.518176944958867*^9,
3.518181958197125*^9, 3.51823955307366*^9, 3.518245022912848*^9,
3.518245151383369*^9, {3.518249729145488*^9, 3.518249743540614*^9}, {
3.5182505047356453`*^9, 3.518250514042838*^9}, 3.518264620390091*^9,
3.5182719964120913`*^9, 3.5183284502809258`*^9, 3.518332258053681*^9,
3.518342058378146*^9, 3.5183472684299297`*^9, 3.518347466920945*^9,
3.51834766404422*^9, 3.518426305032741*^9, 3.5184266788502083`*^9,
3.518426784372344*^9, 3.518427117799423*^9, 3.518427425947975*^9,
3.518431494549447*^9, 3.518431770427433*^9, 3.5184318035965767`*^9,
3.518431954724824*^9, 3.518432177376243*^9, 3.518436251168776*^9,
3.518436591386306*^9, 3.518436822966235*^9, 3.518436959386496*^9,
3.51843716443186*^9, 3.518437797613793*^9, 3.518438485188045*^9,
3.5184997690197363`*^9, 3.518501868268881*^9, 3.518501928746459*^9,
3.518502311548645*^9, 3.518508344119461*^9, 3.518508595989365*^9,
3.518508777785568*^9, {3.518508811170513*^9, 3.518508827652619*^9},
3.518509853498475*^9, 3.518509911978613*^9, 3.5185106259690037`*^9,
3.5185108094439383`*^9, 3.518510856508367*^9, 3.518510919141614*^9,
3.518511148441771*^9, 3.518513219291888*^9, 3.518513566279801*^9,
3.51851844275977*^9, 3.518521022639786*^9, 3.518521081858191*^9,
3.5185211139547167`*^9, 3.5185212102050457`*^9, 3.518767436074045*^9,
3.519022511026503*^9, 3.519022601739169*^9, 3.51910494089808*^9,
3.519105541262541*^9, 3.519105808703487*^9, 3.519120612569817*^9,
3.519363976133082*^9, 3.519364089517942*^9, 3.5193641934700212`*^9,
3.519364717558153*^9, 3.519364960061981*^9, 3.519365483855597*^9,
3.5193687052313337`*^9, 3.5193688173800573`*^9, 3.519369265529378*^9,
3.519370114218729*^9, 3.519371257368782*^9, 3.5196223938113327`*^9,
3.5197156445617447`*^9, 3.519719053474655*^9, 3.519730365188937*^9,
3.5198195930271606`*^9, 3.519822276185775*^9, 3.5198223950179033`*^9,
3.519824081094054*^9, 3.519824130066552*^9, 3.5199005184588213`*^9,
3.5199112472067757`*^9, 3.519911283318737*^9, 3.520056596547925*^9,
3.520056670951776*^9, 3.5200569465967827`*^9, 3.520057075417611*^9,
3.5200588653852987`*^9, 3.520058931497087*^9, 3.520059270625483*^9,
3.5200595164510593`*^9, 3.52006057812914*^9, 3.520060611800837*^9,
3.5200615203988237`*^9, 3.5200616182244873`*^9, 3.520061727632419*^9,
3.520061771484951*^9, 3.520062112760498*^9, 3.520063260718525*^9,
3.5200634153701057`*^9, 3.520063466803103*^9, 3.5200635716148567`*^9,
3.5200636644413843`*^9, 3.520064433815647*^9, {3.5200645484110403`*^9,
3.520064563768997*^9}, 3.520064632706111*^9, 3.520064890733995*^9,
3.520065497175295*^9, 3.520065695393894*^9, 3.52006581087*^9,
3.520068684348455*^9, 3.520069224421446*^9, 3.52007162009293*^9,
3.5212854392494307`*^9, 3.521289884290552*^9, {3.5245625478536263`*^9,
3.524562559778737*^9}, 3.525526531394541*^9, 3.534250843992684*^9,
3.537253439200157*^9, 3.537261222387529*^9, 3.53726126851257*^9,
3.5372621495259*^9, 3.537262423836074*^9, 3.537263722905051*^9,
3.537264693831705*^9, 3.537265080072723*^9, 3.537265553326679*^9,
3.537265783839725*^9, 3.537269319530631*^9, 3.537270157772204*^9,
3.537272100591591*^9, 3.537276831217587*^9, 3.5372768712401867`*^9,
3.544051116710958*^9, 3.547366614511504*^9, 3.547372445885314*^9,
3.547373855890847*^9, 3.5485146892684917`*^9, 3.5485159758039503`*^9,
3.5485164193590803`*^9, 3.548566291414297*^9, 3.548571601293791*^9,
3.548572044819373*^9, 3.550226196102006*^9, 3.550226511454688*^9, {
3.602192657694173*^9, 3.602192676648892*^9}, 3.602192754005781*^9,
3.60221401506596*^9, 3.602214433524744*^9, 3.602214670434222*^9,
3.602214843065363*^9, 3.60221526917461*^9, 3.602215577016164*^9}]
}, Open ]],
Cell[BoxData[
RowBox[{
RowBox[{"spatialColorRules", "=",
RowBox[{"MapIndexed", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"#2", "[",
RowBox[{"[", "1", "]"}], "]"}], "-", "1"}], "\[Rule]", "#1"}], "&"}],
",", "spatialColors"}], "]"}]}], ";"}]], "Input",
CellChangeTimes->{{3.5051527235612*^9, 3.5051527513900023`*^9}, {
3.505324389339789*^9, 3.505324415019569*^9}, 3.5059269920906076`*^9}],
Cell[BoxData[
RowBox[{
RowBox[{"k", "=", "11"}], ";"}]], "Input",
CellChangeTimes->{{3.5063347486489563`*^9, 3.506334755970701*^9}, {
3.506337133237316*^9, 3.5063371335169163`*^9}, {3.506337581951274*^9,
3.506337582078368*^9}, {3.5063380425148277`*^9, 3.506338042649949*^9}, {
3.506338546118327*^9, 3.5063385466535597`*^9}, {3.506342842223082*^9,
3.5063428656066637`*^9}, {3.5063429114978333`*^9, 3.5063429124881*^9}, {
3.5063433774521112`*^9, 3.506343378118878*^9}, 3.506700940376432*^9, {
3.506708769937497*^9, 3.5067087919192057`*^9}, {3.506853330228066*^9,
3.50685333043637*^9}, {3.5068535732255497`*^9, 3.506853573728817*^9}, {
3.508627345523617*^9, 3.508627345631682*^9}, {3.508673807831107*^9,
3.5086738079721212`*^9}, {3.508673846301326*^9, 3.508673846371578*^9},
3.508867317185896*^9, 3.508867432229394*^9, {3.509195248315979*^9,
3.509195248522789*^9}, {3.517663828933074*^9, 3.517663829042844*^9}, {
3.518427246332691*^9, 3.518427252443789*^9}, {3.518427388242338*^9,
3.5184273883335247`*^9}, {3.518513527247774*^9, 3.518513527374939*^9},
3.520061726502542*^9, {3.520062106478465*^9, 3.520062106671751*^9},
3.520063414239801*^9, {3.520065488331394*^9, 3.5200654885230017`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"mod", "=", "8"}], ";"}]], "Input",
CellChangeTimes->{{3.5068543579836884`*^9, 3.506854360144003*^9}, {
3.5068544716311493`*^9, 3.506854508159809*^9}, {3.5086738494533243`*^9,
3.5086738654601316`*^9}, 3.508867319248641*^9, 3.509195250050445*^9,
3.518427261156808*^9, {3.5184273951030273`*^9, 3.518427410767481*^9},
3.518513538863792*^9, {3.520063422551804*^9, 3.520063458070908*^9},
3.520065490004012*^9}],
Cell[BoxData[
RowBox[{
RowBox[{"clusterColors", "=",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{
RowBox[{"ColorData", "[", "\"\<Rainbow\>\"", "]"}], "[",
RowBox[{"FractionalPart", "[",
RowBox[{"i", "-", "0.001"}], "]"}], "]"}], ",", "0.1"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"1", "/", "k"}], ",", "mod", ",",
RowBox[{"mod", "/", "k"}]}], "}"}]}], "]"}]}], ";"}]], "Input",
CellChangeTimes->{{3.5063353597445297`*^9, 3.506335390599773*^9}, {
3.5063354500842113`*^9, 3.506335458985264*^9}, 3.5063371166300707`*^9,
3.5068533244909*^9, 3.506853634658091*^9, {3.506854130446288*^9,
3.506854164575231*^9}, {3.506854210096562*^9, 3.5068542804921923`*^9}, {
3.5068543200899153`*^9, 3.506854321441598*^9}, {3.5068543670990133`*^9,
3.506854368746563*^9}, 3.506854450939373*^9, {3.508696811031082*^9,
3.5086968203009453`*^9}, {3.508696999591632*^9, 3.50869700024009*^9}, {
3.517572421715928*^9, 3.517572426861068*^9}, {3.517664338722807*^9,
3.517664365743868*^9}, {3.51842723545475*^9, 3.518427236669676*^9}, {
3.5200634242188587`*^9, 3.520063425530867*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Graphics", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"PointSize", "[", "0.05", "]"}], ",",
RowBox[{"MapIndexed", "[",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{"#1", ",",
RowBox[{"Point", "[",
RowBox[{"{",
RowBox[{
RowBox[{"#2", "[",
RowBox[{"[", "1", "]"}], "]"}], ",", "0"}], "}"}], "]"}]}],
"}"}], "&"}], ",", "clusterColors"}], "]"}]}], "}"}], ",",
RowBox[{"PlotRange", "\[Rule]", "All"}], ",",
RowBox[{"AspectRatio", "\[Rule]", "0.1"}], ",",
RowBox[{"ImageSize", "\[Rule]", "600"}]}], "]"}]], "Input",
CellChangeTimes->{{3.506853399636057*^9, 3.506853421978413*^9}, {
3.506853686838426*^9, 3.506853691724464*^9}}],
Cell[BoxData[
GraphicsBox[
{PointSize[0.05],
{RGBColor[0.35614150807272726`, 0.24837204814545455`, 0.7393395284363636],
PointBox[{1, 0}]},
{RGBColor[0.9110365820363636, 0.6158557582545453, 0.2932341668363636],
PointBox[{2, 0}]},
{RGBColor[0.6223987667636365, 0.7657607269818182, 0.4440616990545454],
PointBox[{3, 0}]},
{RGBColor[0.35196119592727293`, 0.5689441543272732, 0.8026079817454543],
PointBox[{4, 0}]},
{RGBColor[0.8719218712, 0.22032966879999974`, 0.21932348319999995`],
PointBox[{5, 0}]},
{RGBColor[0.8535980237090908, 0.7209097637090909, 0.32119828872727274`],
PointBox[{6, 0}]},
{RGBColor[0.5061681836363627, 0.7381500321454542, 0.5632668561454556],
PointBox[{7, 0}]},
{RGBColor[0.32031165847272736`, 0.41204598269090814`, 0.8299598882909087],
PointBox[{8, 0}]},
{RGBColor[0.9007760060363638, 0.43196590458181877`, 0.2577868388363638],
PointBox[{9, 0}]},
{RGBColor[0.7478924961454546, 0.7651333170181818, 0.36352887629090913`],
PointBox[{10, 0}]},
{RGBColor[0.41471815796363587`, 0.6776877958545448, 0.6978535892363646],
PointBox[{11, 0}]}},
AspectRatio->0.1,
FrameStyle->GrayLevel[0],
FrameTicksStyle->GrayLevel[0],
ImageSize->600,
LabelStyle->Directive[
GrayLevel[0], FontSize -> 9, FontFamily -> "Helvetica"],
PlotRange->All]], "Output",
CellChangeTimes->{{3.5245631909931498`*^9, 3.524563233388267*^9}, {
3.524563277301558*^9, 3.5245632961223717`*^9}, 3.525526531935109*^9,
3.53425084461757*^9, {3.537253449420789*^9, 3.537253456920521*^9},
3.537261222739238*^9, 3.537261268955914*^9, 3.5372621499821577`*^9,
3.537262424402576*^9, 3.5372637237947617`*^9, 3.537264694130575*^9,
3.5372650804070873`*^9, 3.537265553764159*^9, 3.537265784223769*^9,
3.537269323424551*^9, 3.537270157991754*^9, 3.537272100799959*^9,
3.537276831431333*^9, 3.537276871450149*^9, 3.544051117055482*^9,
3.547366614983808*^9, 3.547372446531631*^9, 3.547373856116747*^9,
3.54851468963743*^9, 3.548515976078511*^9, 3.548516419648067*^9,
3.548566291669856*^9, 3.548571601742098*^9, 3.548572045029271*^9,
3.550226196316971*^9, 3.5502265116674423`*^9, {3.6021926578899317`*^9,
3.602192676849988*^9}, 3.602192754188232*^9, 3.602214015249897*^9,
3.602214433722188*^9, 3.6022146706171637`*^9, 3.602214843283249*^9,
3.602215269356474*^9, 3.602215577198489*^9}]
}, Open ]],
Cell[BoxData[
RowBox[{
RowBox[{"narrowWidth", "=", "255"}], ";"}]], "Input",
CellChangeTimes->{{3.519627076344088*^9, 3.519627090039556*^9}, {
3.5196272913018007`*^9, 3.519627292355083*^9}, {3.51962738993384*^9,
3.519627390020803*^9}, {3.52456405698919*^9, 3.524564057412239*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"extraNarrowWidth", "=", "215"}], ";"}]], "Input",
CellChangeTimes->{{3.5245636423669033`*^9, 3.524563648909005*^9}, {
3.5245638877636747`*^9, 3.524563888209391*^9}, {3.524564054694646*^9,
3.524564054820326*^9}, {3.524564302641521*^9, 3.524564302984436*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"padding", "=",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"35", ",", "5"}], "}"}], ",",
RowBox[{"{",
RowBox[{"20", ",", "15"}], "}"}]}], "}"}]}], ";"}]], "Input",
CellChangeTimes->{{3.519627187036448*^9, 3.519627192529881*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"fullPadding", "=",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"37", ",", "2"}], "}"}], ",",
RowBox[{"{",
RowBox[{"29", ",", "5"}], "}"}]}], "}"}]}], ";"}]], "Input",
CellChangeTimes->{{3.519716118708188*^9, 3.5197162070327463`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"partialPadding", "=",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"15", ",", "2"}], "}"}], ",",
RowBox[{"{",
RowBox[{"13", ",", "2"}], "}"}]}], "}"}]}], ";"}]], "Input",
CellChangeTimes->{{3.519716118708188*^9, 3.5197162070327463`*^9}, {
3.5197173644714947`*^9, 3.5197174082581263`*^9}, {3.5197174628968887`*^9,
3.519717463230194*^9}, {3.519717505377964*^9, 3.5197175068870363`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"imageSize", "=", "500"}], ";"}]], "Input",
CellChangeTimes->{{3.517638288465662*^9, 3.517638295388876*^9}, {
3.51763884512853*^9, 3.517638862782062*^9}, 3.518518490733975*^9, {
3.537261612374426*^9, 3.537261612477901*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"imageResolution", "=", "120"}], ";"}]], "Input",
CellChangeTimes->{{3.6022134166858683`*^9, 3.6022134191087933`*^9}}]
}, Open ]],
Cell[CellGroupData[{
Cell["Loess fit", "Section",
CellChangeTimes->{{3.505927980065168*^9, 3.5059279821341267`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"LoessFit", "[",
RowBox[{
RowBox[{
RowBox[{"(", "x_", ")"}], "?", "VectorQ"}], ",", "data_", ",",
RowBox[{"\[Alpha]_:", "0.75"}], ",",
RowBox[{"\[Lambda]_:", "1"}]}], "]"}], ":=",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"LoessFit", "[",
RowBox[{
RowBox[{"x", "[",
RowBox[{"[", "i", "]"}], "]"}], ",", "data", ",", "\[Alpha]", ",",
"\[Lambda]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[", "x", "]"}]}], "}"}]}], "]"}]}]], "Input",
CellChangeTimes->{
3.35696210375764*^9, 3.4685950158116302`*^9, {3.4686902416296015`*^9,
3.468690243205211*^9}, {3.4686903972093983`*^9, 3.4686904003606186`*^9}, {
3.468690476411106*^9, 3.468690477581114*^9}, {3.468690537610298*^9,
3.4686905390143075`*^9}, {3.4687053895376215`*^9, 3.468705391799636*^9}, {
3.468705528269727*^9, 3.4687056356618156`*^9}, {3.4689303970543222`*^9,
3.468930504195035*^9}, {3.4689305954631605`*^9, 3.468930612025817*^9}, {
3.505928043812162*^9, 3.505928045692778*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"LoessFit", "[",
RowBox[{
RowBox[{
RowBox[{"(", "x_", ")"}], "?", "NumberQ"}], ",", "data_", ",",
RowBox[{"\[Alpha]_:", "0.75"}], ",",
RowBox[{"\[Lambda]_:", "1"}]}], "]"}], ":=",
RowBox[{"WLSFit", "[",
RowBox[{"data", ",",
RowBox[{"LoessWts", "[",
RowBox[{"x", ",", "data", ",", "\[Alpha]"}], "]"}], ",", "\[Lambda]",
",", "x"}], "]"}]}], ";"}]], "Input",
CellChangeTimes->{
3.35696210375764*^9, 3.4685950158116302`*^9, {3.4686902416296015`*^9,
3.468690243205211*^9}, {3.4686903972093983`*^9, 3.4686904003606186`*^9}, {
3.468690476411106*^9, 3.468690477581114*^9}, {3.468690537610298*^9,
3.4686905390143075`*^9}, {3.4687053895376215`*^9, 3.468705391799636*^9}, {
3.468705528269727*^9, 3.4687056356618156`*^9}, {3.4689303970543222`*^9,
3.468930504195035*^9}, {3.4689305954631605`*^9, 3.468930612025817*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"WLSFit", "[",
RowBox[{"data_", ",", "wts_", ",",
RowBox[{"ldegree_:", "1"}], ",", "x_"}], "]"}], ":=",
RowBox[{
RowBox[{"Fit", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"wts", "*", "#1"}], "&"}], ")"}], "/@",
RowBox[{"Join", "[",
RowBox[{
RowBox[{"{",
RowBox[{"Table", "[",
RowBox[{"1", ",",
RowBox[{"{",
RowBox[{"Length", "[", "data", "]"}], "}"}]}], "]"}], "}"}], ",",
RowBox[{"Transpose", "[", "data", "]"}]}], "]"}]}], "]"}], ",",
RowBox[{"Join", "[",
RowBox[{
RowBox[{"{", "u", "}"}], ",",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"v", "^", "i"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "ldegree"}], "}"}]}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"u", ",", "v"}], "}"}]}], "]"}], "/.",
RowBox[{"{",
RowBox[{
RowBox[{"u", "\[Rule]", "1"}], ",",
RowBox[{"v", "\[Rule]", "x"}]}], "}"}]}]}]], "Input",
CellChangeTimes->{
3.35696210375764*^9, 3.4685950158116302`*^9, {3.4686902416296015`*^9,
3.468690243205211*^9}, {3.4686903972093983`*^9, 3.4686904003606186`*^9}, {
3.468690476411106*^9, 3.468690477581114*^9}, {3.468690537610298*^9,
3.4686905390143075`*^9}, {3.4687053895376215`*^9, 3.468705391799636*^9}, {
3.468705528269727*^9, 3.4687056356618156`*^9}, {3.4689303970543222`*^9,
3.468930504195035*^9}, {3.4689305954631605`*^9, 3.468930612025817*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"LoessWts", "[",
RowBox[{"x_", ",", "data_", ",", "\[Alpha]_"}], "]"}], ":=",
RowBox[{"Tricube", "[",
RowBox[{
RowBox[{"(",
RowBox[{"x", "-",
RowBox[{"First", "[",
RowBox[{"Transpose", "[", "data", "]"}], "]"}]}], ")"}], "/",
RowBox[{"LoessDistance", "[",
RowBox[{"x", ",", "data", ",", "\[Alpha]"}], "]"}]}], "]"}]}]], "Input",
CellChangeTimes->{
3.35696210375764*^9, 3.4685950158116302`*^9, {3.4686902416296015`*^9,
3.468690243205211*^9}, {3.4686903972093983`*^9, 3.4686904003606186`*^9}, {
3.468690476411106*^9, 3.468690477581114*^9}, {3.468690537610298*^9,
3.4686905390143075`*^9}, {3.4687053895376215`*^9, 3.468705391799636*^9}, {
3.468705528269727*^9, 3.4687056356618156`*^9}, {3.4689303970543222`*^9,
3.468930504195035*^9}, {3.4689305954631605`*^9, 3.468930612025817*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Tricube", "=",
RowBox[{"Compile", "[",
RowBox[{
RowBox[{"{",
RowBox[{"{",
RowBox[{"x", ",", "_Real", ",", "1"}], "}"}], "}"}], ",",
RowBox[{