SpiralMap 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. SpiralMap/__init__.py +6 -0
  2. SpiralMap/datafiles/Drimmel2024_cepheids/ArmAttributes_dyoungW1_bw025.pkl +0 -0
  3. SpiralMap/datafiles/Drimmel_NIR/Drimmel2armspiral.fits +0 -0
  4. SpiralMap/datafiles/Drimmel_NIR/Readme_spiral_m2_147.txt +5 -0
  5. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm1_X_hel.npy +0 -0
  6. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm1_Y_hel.npy +0 -0
  7. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm2_X_hel.npy +0 -0
  8. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm2_Y_hel.npy +0 -0
  9. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm3_X_hel.npy +0 -0
  10. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm3_Y_hel.npy +0 -0
  11. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm4_X_hel.npy +0 -0
  12. SpiralMap/datafiles/Drimmel_NIR/phase_shifted/Arm4_Y_hel.npy +0 -0
  13. SpiralMap/datafiles/Drimmel_NIR/spiral_m2_147.dat +101 -0
  14. SpiralMap/datafiles/GaiaPVP_cont_2022/GaiaPVP_cont_2022_pproj_contours.pkl +0 -0
  15. SpiralMap/datafiles/GaiaPVP_cont_2022/over_dens_grid_threshold_0_003_dens.npy +0 -0
  16. SpiralMap/datafiles/GaiaPVP_cont_2022/xvalues_dens.npy +0 -0
  17. SpiralMap/datafiles/GaiaPVP_cont_2022/yvalues_dens.npy +0 -0
  18. SpiralMap/datafiles/Poggio_cont_2021/Poggio_cont_2021_pproj_contours.pkl +0 -0
  19. SpiralMap/datafiles/Poggio_cont_2021/overdens_grid_locscale03.npy +0 -0
  20. SpiralMap/datafiles/Poggio_cont_2021/xvalues.npy +0 -0
  21. SpiralMap/datafiles/Poggio_cont_2021/yvalues.npy +0 -0
  22. SpiralMap/datafiles/flim.pkl +0 -0
  23. SpiralMap/datafiles/flim_all.pkl +0 -0
  24. SpiralMap/datafiles/spiral.bib +136 -0
  25. SpiralMap/figdir_primer/polar_proj_multiple_models2.png +0 -0
  26. SpiralMap/models_.py +1127 -0
  27. SpiralMap/movie_.gif +0 -0
  28. SpiralMap/mytools.py +223 -0
  29. SpiralMap/test.py +297 -0
  30. SpiralMap/version.py +2 -0
  31. spiralmap-0.0.1.dist-info/METADATA +51 -0
  32. spiralmap-0.0.1.dist-info/RECORD +34 -0
  33. spiralmap-0.0.1.dist-info/WHEEL +4 -0
  34. spiralmap-0.0.1.dist-info/licenses/LICENSE.md +21 -0
SpiralMap/__init__.py ADDED
@@ -0,0 +1,6 @@
1
+ from __future__ import (absolute_import)
2
+ from .version import __version__
3
+ from .models_ import *
4
+
5
+
6
+
@@ -0,0 +1,5 @@
1
+ Readme for spiral_m2_147.dat
2
+
3
+ Data are positions for two arms. The first four columns are R,phi,X,Y of arm1, followed by the same for arm 2. (R,phi) are galactocentric with phi in radians, (X,Y) are heliocentric. Length units are R_sun = 1. So, scale to your adopted Rsun by multiplying the R,X and Y columns by Rsun.
4
+
5
+ Data generated by logspiral.pro with a pitch angle of 14.7 degrees,..
@@ -0,0 +1,101 @@
1
+ 0.50000 -1.05849 0.75491 0.43581 0.50000 -4.20008 1.24509 -0.43581
2
+ 0.50698 -1.00319 0.72744 0.42748 0.50698 -4.14478 1.27256 -0.42748
3
+ 0.51406 -0.94789 0.70010 0.41751 0.51406 -4.08948 1.29990 -0.41751
4
+ 0.52123 -0.89258 0.67298 0.40588 0.52123 -4.03418 1.32702 -0.40588
5
+ 0.52851 -0.83728 0.64617 0.39259 0.52851 -3.97887 1.35383 -0.39259
6
+ 0.53589 -0.78198 0.61978 0.37763 0.53589 -3.92357 1.38022 -0.37763
7
+ 0.54337 -0.72668 0.59389 0.36101 0.54337 -3.86827 1.40611 -0.36101
8
+ 0.55095 -0.67137 0.56862 0.34273 0.55095 -3.81297 1.43138 -0.34273
9
+ 0.55864 -0.61607 0.54406 0.32280 0.55864 -3.75766 1.45594 -0.32280
10
+ 0.56644 -0.56077 0.52031 0.30125 0.56644 -3.70236 1.47969 -0.30125
11
+ 0.57435 -0.50547 0.49747 0.27811 0.57435 -3.64706 1.50253 -0.27811
12
+ 0.58237 -0.45016 0.47565 0.25339 0.58237 -3.59176 1.52435 -0.25339
13
+ 0.59050 -0.39486 0.45494 0.22715 0.59050 -3.53645 1.54506 -0.22715
14
+ 0.59874 -0.33956 0.43545 0.19942 0.59874 -3.48115 1.56455 -0.19942
15
+ 0.60710 -0.28425 0.41726 0.17026 0.60710 -3.42585 1.58274 -0.17026
16
+ 0.61557 -0.22895 0.40049 0.13971 0.61557 -3.37055 1.59951 -0.13971
17
+ 0.62417 -0.17365 0.38522 0.10784 0.62417 -3.31524 1.61478 -0.10784
18
+ 0.63288 -0.11835 0.37155 0.07472 0.63288 -3.25994 1.62845 -0.07472
19
+ 0.64171 -0.06304 0.35956 0.04043 0.64171 -3.20464 1.64044 -0.04043
20
+ 0.65067 -0.00774 0.34935 0.00504 0.65067 -3.14934 1.65065 -0.00504
21
+ 0.65975 0.04756 0.34099 -0.03137 0.65975 -3.09403 1.65901 0.03137
22
+ 0.66896 0.10286 0.33457 -0.06869 0.66896 -3.03873 1.66543 0.06869
23
+ 0.67830 0.15817 0.33016 -0.10684 0.67830 -2.98343 1.66984 0.10684
24
+ 0.68777 0.21347 0.32784 -0.14570 0.68777 -2.92813 1.67216 0.14570
25
+ 0.69737 0.26877 0.32767 -0.18518 0.69737 -2.87282 1.67233 0.18518
26
+ 0.70711 0.32407 0.32970 -0.22516 0.70711 -2.81752 1.67030 0.22516
27
+ 0.71698 0.37938 0.33400 -0.26553 0.71698 -2.76222 1.66600 0.26553
28
+ 0.72699 0.43468 0.34062 -0.30615 0.72699 -2.70692 1.65938 0.30615
29
+ 0.73713 0.48998 0.34960 -0.34690 0.73713 -2.65161 1.65040 0.34690
30
+ 0.74742 0.54528 0.36097 -0.38766 0.74742 -2.59631 1.63903 0.38766
31
+ 0.75786 0.60059 0.37476 -0.42829 0.75786 -2.54101 1.62524 0.42828
32
+ 0.76844 0.65589 0.39101 -0.46864 0.76844 -2.48571 1.60899 0.46864
33
+ 0.77916 0.71119 0.40972 -0.50859 0.77916 -2.43040 1.59028 0.50859
34
+ 0.79004 0.76649 0.43090 -0.54798 0.79004 -2.37510 1.56910 0.54798
35
+ 0.80107 0.82180 0.45455 -0.58668 0.80107 -2.31980 1.54545 0.58668
36
+ 0.81225 0.87710 0.48066 -0.62453 0.81225 -2.26449 1.51934 0.62453
37
+ 0.82359 0.93240 0.50922 -0.66139 0.82359 -2.20919 1.49078 0.66139
38
+ 0.83509 0.98770 0.54019 -0.69710 0.83509 -2.15389 1.45981 0.69710
39
+ 0.84675 1.04301 0.57356 -0.73152 0.84675 -2.09859 1.42644 0.73152
40
+ 0.85857 1.09831 0.60926 -0.76450 0.85857 -2.04328 1.39074 0.76450
41
+ 0.87055 1.15361 0.64726 -0.79589 0.87055 -1.98798 1.35274 0.79589
42
+ 0.88270 1.20891 0.68749 -0.82553 0.88270 -1.93268 1.31251 0.82553
43
+ 0.89503 1.26422 0.72988 -0.85329 0.89503 -1.87738 1.27012 0.85329
44
+ 0.90752 1.31952 0.77435 -0.87902 0.90752 -1.82207 1.22565 0.87902
45
+ 0.92019 1.37482 0.82082 -0.90257 0.92019 -1.76677 1.17918 0.90257
46
+ 0.93303 1.43012 0.86918 -0.92382 0.93303 -1.71147 1.13082 0.92382
47
+ 0.94606 1.48543 0.91933 -0.94261 0.94606 -1.65617 1.08067 0.94261
48
+ 0.95926 1.54073 0.97116 -0.95883 0.95926 -1.60086 1.02884 0.95883
49
+ 0.97265 1.59603 1.02454 -0.97235 0.97265 -1.54556 0.97546 0.97235
50
+ 0.98623 1.65133 1.07934 -0.98304 0.98623 -1.49026 0.92066 0.98304
51
+ 1.00000 1.70664 1.13542 -0.99079 1.00000 -1.43496 0.86458 0.99079
52
+ 1.01396 1.76194 1.19263 -0.99549 1.01396 -1.37965 0.80737 0.99549
53
+ 1.02811 1.81724 1.25082 -0.99705 1.02811 -1.32435 0.74918 0.99705
54
+ 1.04247 1.87254 1.30981 -0.99537 1.04247 -1.26905 0.69019 0.99537
55
+ 1.05702 1.92785 1.36944 -0.99035 1.05702 -1.21375 0.63056 0.99035
56
+ 1.07177 1.98315 1.42953 -0.98194 1.07177 -1.15844 0.57047 0.98194
57
+ 1.08673 2.03845 1.48989 -0.97005 1.08673 -1.10314 0.51011 0.97005
58
+ 1.10191 2.09375 1.55034 -0.95463 1.10191 -1.04784 0.44966 0.95463
59
+ 1.11729 2.14906 1.61067 -0.93563 1.11729 -0.99254 0.38933 0.93563
60
+ 1.13288 2.20436 1.67069 -0.91302 1.13288 -0.93723 0.32931 0.91302
61
+ 1.14870 2.25966 1.73018 -0.88676 1.14870 -0.88193 0.26982 0.88676
62
+ 1.16473 2.31496 1.78894 -0.85684 1.16473 -0.82663 0.21106 0.85684
63
+ 1.18099 2.37027 1.84676 -0.82325 1.18099 -0.77133 0.15324 0.82326
64
+ 1.19748 2.42557 1.90340 -0.78601 1.19748 -0.71602 0.09660 0.78601
65
+ 1.21419 2.48087 1.95867 -0.74514 1.21419 -0.66072 0.04133 0.74514
66
+ 1.23114 2.53617 2.01233 -0.70065 1.23114 -0.60542 -0.01232 0.70065
67
+ 1.24833 2.59148 2.06416 -0.65261 1.24833 -0.55012 -0.06416 0.65261
68
+ 1.26576 2.64678 2.11394 -0.60107 1.26576 -0.49481 -0.11394 0.60107
69
+ 1.28343 2.70208 2.16145 -0.54609 1.28343 -0.43951 -0.16145 0.54610
70
+ 1.30134 2.75738 2.20647 -0.48778 1.30134 -0.38421 -0.20647 0.48778
71
+ 1.31951 2.81269 2.24878 -0.42621 1.31951 -0.32891 -0.24878 0.42621
72
+ 1.33793 2.86799 2.28816 -0.36151 1.33793 -0.27360 -0.28816 0.36151
73
+ 1.35660 2.92329 2.32441 -0.29380 1.35660 -0.21830 -0.32441 0.29380
74
+ 1.37554 2.97859 2.35731 -0.22322 1.37554 -0.16300 -0.35731 0.22322
75
+ 1.39474 3.03390 2.38666 -0.14992 1.39474 -0.10770 -0.38666 0.14992
76
+ 1.41421 3.08920 2.41227 -0.07406 1.41421 -0.05239 -0.41227 0.07406
77
+ 1.43396 3.14450 2.43395 0.00417 1.43396 0.00291 -0.43395 -0.00417
78
+ 1.45397 3.19980 2.45151 0.08459 1.45397 0.05821 -0.45151 -0.08459
79
+ 1.47427 3.25511 2.46478 0.16699 1.47427 0.11351 -0.46478 -0.16699
80
+ 1.49485 3.31041 2.47360 0.25116 1.49485 0.16882 -0.47360 -0.25116
81
+ 1.51572 3.36571 2.47781 0.33686 1.51572 0.22412 -0.47781 -0.33686
82
+ 1.53688 3.42101 2.47727 0.42387 1.53688 0.27942 -0.47727 -0.42387
83
+ 1.55833 3.47632 2.47184 0.51192 1.55833 0.33472 -0.47184 -0.51192
84
+ 1.58008 3.53162 2.46142 0.60077 1.58008 0.39003 -0.46142 -0.60077
85
+ 1.60214 3.58692 2.44588 0.69013 1.60214 0.44533 -0.44588 -0.69013
86
+ 1.62450 3.64222 2.42515 0.77973 1.62450 0.50063 -0.42515 -0.77973
87
+ 1.64718 3.69753 2.39913 0.86928 1.64718 0.55593 -0.39913 -0.86928
88
+ 1.67018 3.75283 2.36777 0.95848 1.67018 0.61124 -0.36777 -0.95848
89
+ 1.69349 3.80813 2.33103 1.04703 1.69349 0.66654 -0.33103 -1.04703
90
+ 1.71713 3.86343 2.28886 1.13462 1.71713 0.72184 -0.28886 -1.13462
91
+ 1.74110 3.91874 2.24126 1.22094 1.74110 0.77714 -0.24127 -1.22094
92
+ 1.76541 3.97404 2.18824 1.30566 1.76541 0.83245 -0.18824 -1.30566
93
+ 1.79005 4.02934 2.12981 1.38846 1.79005 0.88775 -0.12981 -1.38846
94
+ 1.81504 4.08464 2.06601 1.46901 1.81504 0.94305 -0.06601 -1.46901
95
+ 1.84038 4.13995 1.99691 1.54698 1.84038 0.99835 0.00309 -1.54698
96
+ 1.86607 4.19525 1.92257 1.62205 1.86607 1.05366 0.07742 -1.62205
97
+ 1.89212 4.25055 1.84311 1.69389 1.89212 1.10896 0.15688 -1.69389
98
+ 1.91853 4.30585 1.75864 1.76216 1.91853 1.16426 0.24136 -1.76216
99
+ 1.94531 4.36116 1.66929 1.82655 1.94531 1.21956 0.33071 -1.82655
100
+ 1.97247 4.41646 1.57523 1.88672 1.97247 1.27487 0.42477 -1.88672
101
+ 2.00000 4.47176 1.47662 1.94238 2.00000 1.33017 0.52338 -1.94238
Binary file
Binary file
@@ -0,0 +1,136 @@
1
+ @ARTICLE{Drimmel:2024,
2
+ author = {{Drimmel}, Ronald and {Khanna}, Shourya and {Poggio}, Eloisa and {Skowron}, Dorota M.},
3
+ title = "{The Milky Way as Seen by Classical Cepheids II: Spiral Structure}",
4
+ journal = {arXiv e-prints},
5
+ keywords = {Astrophysics - Astrophysics of Galaxies},
6
+ year = 2024,
7
+ month = jun,
8
+ eid = {arXiv:2406.09127},
9
+ pages = {arXiv:2406.09127},
10
+ doi = {10.48550/arXiv.2406.09127},
11
+ archivePrefix = {arXiv},
12
+ eprint = {2406.09127},
13
+ primaryClass = {astro-ph.GA},
14
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2024arXiv240609127D},
15
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
16
+ }
17
+
18
+ #
19
+
20
+ @ARTICLE{Skowron:2024,
21
+ author = {{Skowron}, Dorota M. and {Drimmel}, Ronald and {Khanna}, Shourya and {Spagna}, Alessandro and {Poggio}, Eloisa and {Ramos}, Pau},
22
+ title = "{The Milky Way as seen by Classical Cepheids I: distances based on mid-infrared photometry}",
23
+ journal = {arXiv e-prints},
24
+ keywords = {Astrophysics - Astrophysics of Galaxies, Astrophysics - Solar and Stellar Astrophysics},
25
+ year = 2024,
26
+ month = jun,
27
+ eid = {arXiv:2406.09113},
28
+ pages = {arXiv:2406.09113},
29
+ doi = {10.48550/arXiv.2406.09113},
30
+ archivePrefix = {arXiv},
31
+ eprint = {2406.09113},
32
+ primaryClass = {astro-ph.GA},
33
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2024arXiv240609113S},
34
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
35
+ }
36
+
37
+ @ARTICLE{Reid:2019,
38
+ author = {{Reid}, M.~J. and {Menten}, K.~M. and {Brunthaler}, A. and {Zheng}, X.~W. and {Dame}, T.~M. and {Xu}, Y. and {Li}, J. and {Sakai}, N. and {Wu}, Y. and {Immer}, K. and {Zhang}, B. and {Sanna}, A. and {Moscadelli}, L. and {Rygl}, K.~L.~J. and {Bartkiewicz}, A. and {Hu}, B. and {Quiroga-Nu{\~n}ez}, L.~H. and {van Langevelde}, H.~J.},
39
+ title = "{Trigonometric Parallaxes of High-mass Star-forming Regions: Our View of the Milky Way}",
40
+ journal = {\apj},
41
+ keywords = {Milky Way, Milky Way dynamics, Milky Way rotation, Trigonometric parallax, Star formation, Gravitational wave sources, 1054, 1051, 1059, 1713, 1569, 677, Astrophysics - Astrophysics of Galaxies},
42
+ year = 2019,
43
+ month = nov,
44
+ volume = {885},
45
+ number = {2},
46
+ eid = {131},
47
+ pages = {131},
48
+ doi = {10.3847/1538-4357/ab4a11},
49
+ archivePrefix = {arXiv},
50
+ eprint = {1910.03357},
51
+ primaryClass = {astro-ph.GA},
52
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2019ApJ...885..131R},
53
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
54
+ }
55
+
56
+ @ARTICLE{Poggio:2021,
57
+ author = {{Poggio}, E. and {Drimmel}, R. and {Cantat-Gaudin}, T. and {Ramos}, P. and {Ripepi}, V. and {Zari}, E. and {Andrae}, R. and {Blomme}, R. and {Chemin}, L. and {Clementini}, G. and {Figueras}, F. and {Fouesneau}, M. and {Fr{\'e}mat}, Y. and {Lobel}, A. and {Marshall}, D.~J. and {Muraveva}, T. and {Romero-G{\'o}mez}, M.},
58
+ title = "{Galactic spiral structure revealed by Gaia EDR3}",
59
+ journal = {\aap},
60
+ keywords = {Galaxy: disk, Galaxy: structure, Galaxy: stellar content, Astrophysics - Astrophysics of Galaxies},
61
+ year = 2021,
62
+ month = jul,
63
+ volume = {651},
64
+ eid = {A104},
65
+ pages = {A104},
66
+ doi = {10.1051/0004-6361/202140687},
67
+ archivePrefix = {arXiv},
68
+ eprint = {2103.01970},
69
+ primaryClass = {astro-ph.GA},
70
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2021A&A...651A.104P},
71
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
72
+ }
73
+
74
+ @ARTICLE{Levine:2006,
75
+ author = {{Levine}, E.~S. and {Blitz}, Leo and {Heiles}, Carl},
76
+ title = "{The Spiral Structure of the Outer Milky Way in Hydrogen}",
77
+ journal = {Science},
78
+ keywords = {ASTRONOMY, Astrophysics},
79
+ year = 2006,
80
+ month = jun,
81
+ volume = {312},
82
+ number = {5781},
83
+ pages = {1773-1777},
84
+ doi = {10.1126/science.1128455},
85
+ archivePrefix = {arXiv},
86
+ eprint = {astro-ph/0605728},
87
+ primaryClass = {astro-ph},
88
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2006Sci...312.1773L},
89
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
90
+ }
91
+
92
+ @ARTICLE{Hou:2009,
93
+ author = {{Hou}, L.~G. and {Han}, J.~L. and {Shi}, W.~B.},
94
+ title = "{The spiral structure of our Milky Way Galaxy}",
95
+ journal = {\aap},
96
+ keywords = {Galaxy: structure, Galaxy: kinematics and dynamics, ISM: HII regions, Astrophysics - Astrophysics of Galaxies},
97
+ year = 2009,
98
+ month = may,
99
+ volume = {499},
100
+ number = {2},
101
+ pages = {473-482},
102
+ doi = {10.1051/0004-6361/200809692},
103
+ archivePrefix = {arXiv},
104
+ eprint = {0903.0721},
105
+ primaryClass = {astro-ph.GA},
106
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2009A&A...499..473H},
107
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
108
+ }
109
+
110
+ @ARTICLE{Georgelin:1976,
111
+ author = {{Georgelin}, Y.~M. and {Georgelin}, Y.~P.},
112
+ title = "{The spiral structure of our Galaxy determined from H II regions.}",
113
+ journal = {\aap},
114
+ keywords = {Astronomical Models, Galactic Rotation, Galactic Structure, H Alpha Line, H Ii Regions, Milky Way Galaxy, Astronomical Maps, Hydrogen Ions, Kinematics, Radial Velocity, Radio Astronomy, Tables (Data), Visual Observation, Astrophysics},
115
+ year = 1976,
116
+ month = may,
117
+ volume = {49},
118
+ pages = {57-79},
119
+ adsurl = {https://ui.adsabs.harvard.edu/abs/1976A&A....49...57G},
120
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
121
+ }
122
+
123
+ @ARTICLE{Taylor:1993,
124
+ author = {{Taylor}, J.~H. and {Cordes}, J.~M.},
125
+ title = "{Pulsar Distances and the Galactic Distribution of Free Electrons}",
126
+ journal = {\apj},
127
+ keywords = {Astrometry, Electron Density (Concentration), Free Electrons, Galactic Structure, H Ii Regions, Pulsars, Astronomical Models, Extragalactic Radio Sources, Interstellar Matter, Milky Way Galaxy, Astrophysics, GALAXY: STRUCTURE, ISM: GENERAL, STARS: PULSARS: GENERAL, STARS: DISTANCES},
128
+ year = 1993,
129
+ month = jul,
130
+ volume = {411},
131
+ pages = {674},
132
+ doi = {10.1086/172870},
133
+ adsurl = {https://ui.adsabs.harvard.edu/abs/1993ApJ...411..674T},
134
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
135
+ }
136
+