Commit 181ad024 authored by Alexandre Beelen's avatar Alexandre Beelen

Add Names/ID in reg files

parent f6a42ef5
# Region file format: DS9 astropy/regions
fk5
circle(189.3780,62.2162,0.0041)
circle(189.2982,62.2252,0.0041)
circle(189.1396,62.2357,0.0041)
circle(189.2815,62.2352,0.0041)
circle(189.2565,62.1963,0.0041)
circle(188.9600,62.1783,0.0041)
circle(189.0762,62.2640,0.0041)
circle(189.1335,62.2869,0.0041)
circle(189.4221,62.2056,0.0041)
circle(189.1909,62.2469,0.0041)
circle(189.1135,62.2041,0.0041)
circle(189.2183,62.2074,0.0041)
circle(189.1139,62.1013,0.0041)
circle(189.0941,62.2713,0.0041)
circle(189.1884,62.3269,0.0041)
circle(189.0680,62.2540,0.0041)
circle(189.2003,62.3513,0.0041)
circle(189.1480,62.2402,0.0041)
circle(189.2993,62.2024,0.0041)
circle(189.2445,62.1586,0.0041)
circle(189.3442,62.0941,0.0041)
circle(189.1453,62.3230,0.0041)
circle(189.0881,62.2863,0.0041)
circle(188.9751,62.2272,0.0041)
circle(189.2350,62.2019,0.0041)
circle(189.3040,62.1763,0.0041)
circle(189.4107,62.2934,0.0041)
circle(189.0675,62.1168,0.0041)
circle(189.3080,62.3074,0.0041)
circle(189.3350,62.1852,0.0041)
circle(189.0414,62.1140,0.0041)
circle(189.3407,62.1191,0.0041)
circle(189.3303,62.2046,0.0041)
circle(189.0358,62.2445,0.0041)
circle(189.2422,62.2469,0.0041)
circle(189.1669,62.3097,0.0041)
circle(189.0377,62.1346,0.0041)
circle(189.3302,62.1730,0.0041)
circle(189.2195,62.1558,0.0041)
circle(189.0877,62.1218,0.0041)
circle(189.3065,62.1986,0.0041)
circle(189.0493,62.1762,0.0041)
circle(189.1528,62.1986,0.0041)
circle(189.1684,62.1680,0.0041)
circle(189.0975,62.3341,0.0041)
circle(189.2172,62.0841,0.0041)
circle(189.2625,62.2397,0.0041)
circle(189.1946,62.1424,0.0041)
circle(189.2243,62.1863,0.0041)
circle(189.1445,62.2113,0.0041)
circle(189.3185,62.2346,0.0041)
circle(189.2183,62.3163,0.0041)
circle(189.3678,62.3224,0.0041)
circle(189.4347,62.1317,0.0041)
circle(189.5037,62.2722,0.0041)
circle(189.0289,62.2106,0.0041)
circle(189.1471,62.1052,0.0041)
circle(189.4130,62.2718,0.0041)
circle(189.0941,62.2752,0.0041)
circle(189.3406,62.0863,0.0041)
circle(189.1446,62.1613,0.0041)
circle(189.2386,62.2547,0.0041)
circle(188.9344,62.2438,0.0041)
circle(189.2659,62.1336,0.0041)
circle(189.3206,62.1346,0.0041)
circle(189.0234,62.1445,0.0041)
circle(189.1553,62.1486,0.0041)
# Region file format: DS9 astropy/regions
fk5
circle(189.3783,62.2163,0.0021)
circle(188.9744,62.2270,0.0021)
circle(189.3392,62.1190,0.0021)
circle(189.4215,62.2058,0.0021)
circle(189.0765,62.2640,0.0021)
circle(189.1446,62.3219,0.0021)
circle(189.1210,62.1793,0.0021)
circle(189.2972,62.2252,0.0021)
circle(189.2566,62.1962,0.0021)
circle(189.2799,62.2356,0.0021)
circle(189.0671,62.2538,0.0021)
circle(189.3611,62.1398,0.0021)
circle(189.1483,62.2400,0.0021)
circle(189.0945,62.2749,0.0021)
circle(189.0921,62.2711,0.0021)
circle(189.1438,62.2114,0.0021)
circle(189.3172,62.2780,0.0021)
circle(189.1920,62.2468,0.0021)
circle(189.1757,62.2896,0.0021)
circle(189.1945,62.1426,0.0021)
circle(189.1331,62.2874,0.0021)
circle(189.3588,62.2246,0.0021)
circle(189.1543,62.1479,0.0021)
circle(189.1302,62.1660,0.0021)
circle(189.3085,62.1990,0.0021)
circle(189.1174,62.2205,0.0021)
circle(189.1392,62.2357,0.0021)
circle(189.2511,62.1527,0.0021)
circle(189.3022,62.2239,0.0021)
circle(189.2168,62.2072,0.0021)
circle(189.2199,62.2317,0.0021)
circle(189.378329,62.216304,0.002083) # 1
circle(188.974412,62.226998,0.002083) # 2
circle(189.339162,62.118971,0.002083) # 3
circle(189.421495,62.205832,0.002083) # 4
circle(189.076454,62.263998,0.002083) # 5
circle(189.144620,62.321915,0.002083) # 6
circle(189.120954,62.179304,0.002083) # 7
circle(189.297245,62.225248,0.002083) # 8
circle(189.256570,62.196221,0.002083) # 9
circle(189.279899,62.235607,0.002083) # 10
circle(189.067079,62.253804,0.002083) # 11
circle(189.361079,62.139776,0.002083) # 12
circle(189.148287,62.239998,0.002083) # 13
circle(189.094454,62.274915,0.002083) # 14
circle(189.092079,62.271082,0.002083) # 15
circle(189.143787,62.211359,0.002083) # 16
circle(189.317245,62.278026,0.002083) # 17
circle(189.191995,62.246832,0.002083) # 18
circle(189.175745,62.289582,0.002083) # 19
circle(189.194495,62.142554,0.002083) # 20
circle(189.133079,62.287415,0.002083) # 21
circle(189.358829,62.224637,0.002083) # 22
circle(189.154287,62.147887,0.002083) # 23
circle(189.130245,62.165998,0.002083) # 24
circle(189.308537,62.199026,0.002083) # 25
circle(189.117370,62.220498,0.002083) # 26
circle(189.139245,62.235693,0.002083) # 27
circle(189.251120,62.152693,0.002083) # 28
circle(189.302204,62.223860,0.002083) # 29
circle(189.216787,62.207193,0.002083) # 30
circle(189.219912,62.231748,0.002083) # 31
This diff is collapsed.
This diff is collapsed.
# Region file format: DS9 astropy/regions
fk5
circle(189.3780,62.2162,0.0041)
circle(189.2982,62.2252,0.0041)
circle(189.1396,62.2357,0.0041)
circle(189.2815,62.2352,0.0041)
circle(189.2565,62.1963,0.0041)
circle(188.9600,62.1783,0.0041)
circle(189.0762,62.2640,0.0041)
circle(189.1335,62.2869,0.0041)
circle(189.4221,62.2056,0.0041)
circle(189.1909,62.2469,0.0041)
circle(189.1135,62.2041,0.0041)
circle(189.2183,62.2074,0.0041)
circle(189.1139,62.1013,0.0041)
circle(189.0941,62.2713,0.0041)
circle(189.1884,62.3269,0.0041)
circle(189.0680,62.2540,0.0041)
circle(189.2003,62.3513,0.0041)
circle(189.1480,62.2402,0.0041)
circle(189.2993,62.2024,0.0041)
circle(189.2445,62.1586,0.0041)
circle(189.3442,62.0941,0.0041)
circle(189.1453,62.3230,0.0041)
circle(189.0881,62.2863,0.0041)
circle(188.9751,62.2272,0.0041)
circle(189.2350,62.2019,0.0041)
circle(189.3040,62.1763,0.0041)
circle(189.4107,62.2934,0.0041)
circle(189.0675,62.1168,0.0041)
circle(189.3080,62.3074,0.0041)
circle(189.3350,62.1852,0.0041)
circle(189.0414,62.1140,0.0041)
circle(189.3407,62.1191,0.0041)
circle(189.3303,62.2046,0.0041)
circle(189.0358,62.2445,0.0041)
circle(189.2422,62.2469,0.0041)
circle(189.1669,62.3097,0.0041)
circle(189.0377,62.1346,0.0041)
circle(189.3302,62.1730,0.0041)
circle(189.2195,62.1558,0.0041)
circle(189.0877,62.1218,0.0041)
circle(189.3065,62.1986,0.0041)
circle(189.0493,62.1762,0.0041)
circle(189.1528,62.1986,0.0041)
circle(189.1684,62.1680,0.0041)
circle(189.0975,62.3341,0.0041)
circle(189.2172,62.0841,0.0041)
circle(189.2625,62.2397,0.0041)
circle(189.1946,62.1424,0.0041)
circle(189.2243,62.1863,0.0041)
circle(189.1445,62.2113,0.0041)
circle(189.3185,62.2346,0.0041)
circle(189.2183,62.3163,0.0041)
circle(189.3678,62.3224,0.0041)
circle(189.4347,62.1317,0.0041)
circle(189.5037,62.2722,0.0041)
circle(189.0289,62.2106,0.0041)
circle(189.1471,62.1052,0.0041)
circle(189.4130,62.2718,0.0041)
circle(189.0941,62.2752,0.0041)
circle(189.3406,62.0863,0.0041)
circle(189.1446,62.1613,0.0041)
circle(189.2386,62.2547,0.0041)
circle(188.9344,62.2438,0.0041)
circle(189.2659,62.1336,0.0041)
circle(189.3206,62.1346,0.0041)
circle(189.0234,62.1445,0.0041)
circle(189.1553,62.1486,0.0041)
circle(189.378037,62.216248,0.004111) # GDN.0001
circle(189.298204,62.225221,0.004111) # GDN.0002
circle(189.139620,62.235748,0.004111) # GDN.0003
circle(189.281537,62.235221,0.004111) # GDN.0004
circle(189.256454,62.196332,0.004111) # GDN.0005
circle(188.960037,62.178304,0.004111) # GDN.0006
circle(189.076245,62.264026,0.004111) # GDN.0007
circle(189.133495,62.286859,0.004111) # GDN.0008
circle(189.422079,62.205637,0.004111) # GDN.0009
circle(189.190870,62.246887,0.004111) # GDN.0010
circle(189.113495,62.204082,0.004111) # GDN.0011
circle(189.218329,62.207443,0.004111) # GDN.0012
circle(189.113870,62.101304,0.004111) # GDN.0013
circle(189.094120,62.271276,0.004111) # GDN.0014
circle(189.188370,62.326887,0.004111) # GDN.0015
circle(189.067954,62.254026,0.004111) # GDN.0016
circle(189.200329,62.351332,0.004111) # GDN.0017
circle(189.147954,62.240193,0.004111) # GDN.0018
circle(189.299329,62.202443,0.004111) # GDN.0019
circle(189.244537,62.158554,0.004111) # GDN.0020
circle(189.344204,62.094082,0.004111) # GDN.0021
circle(189.145329,62.322971,0.004111) # GDN.0022
circle(189.088079,62.286276,0.004111) # GDN.0023
circle(188.975120,62.227221,0.004111) # GDN.0024
circle(189.234995,62.201887,0.004111) # GDN.0025
circle(189.304037,62.176332,0.004111) # GDN.0026
circle(189.410662,62.293443,0.004111) # GDN.0027
circle(189.067495,62.116804,0.004111) # GDN.0028
circle(189.307954,62.307443,0.004111) # GDN.0029
circle(189.335037,62.185193,0.004111) # GDN.0030
circle(189.041370,62.113998,0.004111) # GDN.0031
circle(189.340745,62.119082,0.004111) # GDN.0032
circle(189.330329,62.204637,0.004111) # GDN.0033
circle(189.035787,62.244526,0.004111) # GDN.0034
circle(189.242162,62.246887,0.004111) # GDN.0035
circle(189.166870,62.309665,0.004111) # GDN.0036
circle(189.037704,62.134554,0.004111) # GDN.0037
circle(189.330204,62.172971,0.004111) # GDN.0038
circle(189.219537,62.155776,0.004111) # GDN.0039
circle(189.087662,62.121832,0.004111) # GDN.0040
circle(189.306495,62.198554,0.004111) # GDN.0041
circle(189.049329,62.176221,0.004111) # GDN.0042
circle(189.152829,62.198554,0.004111) # GDN.0043
circle(189.168370,62.167998,0.004111) # GDN.0044
circle(189.097454,62.334054,0.004111) # GDN.0045
circle(189.217204,62.084110,0.004111) # GDN.0046
circle(189.262454,62.239665,0.004111) # GDN.0047
circle(189.194579,62.142443,0.004111) # GDN.0048
circle(189.224287,62.186332,0.004111) # GDN.0049
circle(189.144454,62.211304,0.004111) # GDN.0050
circle(189.318495,62.234637,0.004111) # GDN.0051
circle(189.218287,62.316332,0.004111) # GDN.0052
circle(189.367787,62.322387,0.004111) # GDN.0053
circle(189.434662,62.131748,0.004111) # GDN.0054
circle(189.503704,62.272193,0.004111) # GDN.0055
circle(189.028870,62.210637,0.004111) # GDN.0056
circle(189.147120,62.105193,0.004111) # GDN.0057
circle(189.412954,62.271776,0.004111) # GDN.0058
circle(189.094120,62.275165,0.004111) # GDN.0059
circle(189.340620,62.086304,0.004111) # GDN.0060
circle(189.144579,62.161304,0.004111) # GDN.0061
circle(189.238620,62.254665,0.004111) # GDN.0062
circle(188.934412,62.243804,0.004111) # GDN.0063
circle(189.265912,62.133554,0.004111) # GDN.0064
circle(189.320579,62.134637,0.004111) # GDN.0065
circle(189.023370,62.144526,0.004111) # GDN.0066
circle(189.155329,62.148554,0.004111) # GDN.0067
# Region file format: DS9 astropy/regions
fk5
circle(189.2987,62.3697,0.0031)
circle(189.1383,62.2353,0.0031)
circle(189.2967,62.2244,0.0031)
circle(189.3783,62.2164,0.0031)
circle(189.1121,62.1011,0.0031)
circle(189.3087,62.3078,0.0031)
circle(189.0325,62.1489,0.0031)
circle(189.2621,62.3300,0.0031)
circle(189.1858,62.3278,0.0031)
circle(189.4075,62.2489,0.0031)
circle(189.0404,62.1133,0.0031)
circle(188.9596,62.1783,0.0031)
circle(189.1325,62.2875,0.0031)
circle(189.1483,62.1206,0.0031)
circle(188.9750,62.2272,0.0031)
circle(189.3487,62.3469,0.0031)
circle(189.4000,62.1844,0.0031)
circle(188.9833,62.2906,0.0031)
circle(189.1879,62.1400,0.0031)
circle(189.4554,62.2664,0.0031)
circle(189.3367,62.1850,0.0031)
circle(189.2967,62.1144,0.0031)
circle(189.3225,62.1333,0.0031)
circle(189.4817,62.1828,0.0031)
circle(189.2121,62.2047,0.0031)
circle(189.1829,62.3975,0.0031)
circle(189.0300,62.1936,0.0031)
circle(189.0242,62.2806,0.0031)
circle(189.2992,62.2050,0.0031)
circle(189.1617,62.3472,0.0031)
circle(189.5142,62.2461,0.0031)
circle(189.2992,62.3233,0.0031)
circle(189.1746,62.1917,0.0031)
circle(189.4667,62.2411,0.0031)
circle(188.9237,62.1972,0.0031)
circle(189.5117,62.3278,0.0031)
circle(189.2367,62.2797,0.0031)
circle(188.9179,62.2131,0.0031)
circle(189.3087,62.3119,0.0031)
circle(189.4392,62.1917,0.0031)
circle(189.0896,62.2850,0.0031)
circle(189.2525,62.2483,0.0031)
circle(189.3029,62.2164,0.0031)
circle(189.2467,62.2719,0.0031)
circle(189.2225,62.4003,0.0031)
circle(189.2312,62.2358,0.0031)
circle(188.9900,62.2139,0.0031)
circle(189.298745,62.369721,0.003083) # GN1200.01
circle(189.138329,62.235276,0.003083) # GN1200.02
circle(189.296662,62.224443,0.003083) # GN1200.03
circle(189.378329,62.216387,0.003083) # GN1200.04
circle(189.112079,62.101109,0.003083) # GN1200.05
circle(189.308745,62.307776,0.003083) # GN1200.06
circle(189.032495,62.148887,0.003083) # GN1200.07
circle(189.262079,62.329998,0.003083) # GN1200.08
circle(189.185829,62.327776,0.003083) # GN1200.09
circle(189.407495,62.248887,0.003083) # GN1200.10
circle(189.040412,62.113332,0.003083) # GN1200.11
circle(188.959579,62.178332,0.003083) # GN1200.12
circle(189.132495,62.287498,0.003083) # GN1200.13
circle(189.148329,62.120554,0.003083) # GN1200.14
circle(188.974995,62.227221,0.003083) # GN1200.15
circle(189.348745,62.346943,0.003083) # GN1200.16
circle(189.399995,62.184443,0.003083) # GN1200.17
circle(188.983329,62.290554,0.003083) # GN1200.18
circle(189.187912,62.139998,0.003083) # GN1200.19
circle(189.455412,62.266387,0.003083) # GN1200.20
circle(189.336662,62.184998,0.003083) # GN1200.21
circle(189.296662,62.114443,0.003083) # GN1200.22
circle(189.322495,62.133332,0.003083) # GN1200.23
circle(189.481662,62.182776,0.003083) # GN1200.24
circle(189.212079,62.204721,0.003083) # GN1200.25
circle(189.182912,62.397498,0.003083) # GN1200.26
circle(189.029995,62.193609,0.003083) # GN1200.27
circle(189.024162,62.280554,0.003083) # GN1200.28
circle(189.299162,62.204998,0.003083) # GN1200.29
circle(189.161662,62.347221,0.003083) # GN1200.30
circle(189.514162,62.246110,0.003083) # GN1200.31
circle(189.299162,62.323332,0.003083) # GN1200.32
circle(189.174579,62.191665,0.003083) # GN1200.33
circle(189.466662,62.241110,0.003083) # GN1200.34
circle(188.923745,62.197221,0.003083) # GN1200.35
circle(189.511662,62.327776,0.003083) # GN1200.36
circle(189.236662,62.279721,0.003083) # GN1200.37
circle(188.917912,62.213054,0.003083) # GN1200.38
circle(189.308745,62.311943,0.003083) # GN1200.39
circle(189.439162,62.191665,0.003083) # GN1200.40
circle(189.089579,62.284998,0.003083) # GN1200.41
circle(189.252495,62.248332,0.003083) # GN1200.42
circle(189.302912,62.216387,0.003083) # GN1200.43
circle(189.246662,62.271943,0.003083) # GN1200.44
circle(189.222495,62.400276,0.003083) # GN1200.45
circle(189.231245,62.235832,0.003083) # GN1200.46
circle(188.989995,62.213887,0.003083) # GN1200.47
This diff is collapsed.
# Region file format: DS9 astropy/regions
fk5
circle(189.3002,62.3699,0.0050)
circle(189.1374,62.2859,0.0050)
circle(189.1389,62.2358,0.0050)
circle(188.9593,62.1790,0.0050)
circle(189.3772,62.2157,0.0050)
circle(189.1127,62.1017,0.0050)
circle(189.2997,62.2250,0.0050)
circle(189.1910,62.2450,0.0050)
circle(189.4093,62.2932,0.0050)
circle(189.1126,62.2050,0.0050)
circle(189.1484,62.1184,0.0050)
circle(189.1382,62.1050,0.0050)
circle(188.9744,62.2292,0.0050)
circle(189.2177,62.2067,0.0050)
circle(188.9527,62.2583,0.0050)
circle(189.0674,62.2550,0.0050)
circle(188.9191,62.2434,0.0050)
circle(189.4200,62.2065,0.0050)
circle(189.0180,62.1167,0.0050)
circle(189.3015,62.1773,0.0050)
circle(189.5082,62.2702,0.0050)
circle(189.2071,62.2033,0.0050)
circle(189.3200,62.2923,0.0050)
circle(189.0352,62.2449,0.0050)
circle(189.2179,62.0843,0.0050)
circle(189.3077,62.3074,0.0050)
circle(189.3322,62.2060,0.0050)
circle(189.1817,62.3266,0.0050)
circle(189.0881,62.3200,0.0050)
circle(189.1785,62.2884,0.0050)
circle(189.0923,62.2697,0.0050)
circle(189.3214,62.2322,0.0050)
circle(189.2142,62.3399,0.0050)
circle(189.2012,62.3515,0.0050)
circle(189.5758,62.2416,0.0050)
circle(189.0724,62.2626,0.0050)
circle(189.300162,62.369860,0.005000) # AzGN01
circle(189.137412,62.285943,0.005000) # AzGN02
circle(189.138912,62.235804,0.005000) # AzGN03
circle(188.959287,62.178998,0.005000) # AzGN04
circle(189.377204,62.215748,0.005000) # AzGN05
circle(189.112704,62.101665,0.005000) # AzGN06
circle(189.299745,62.225026,0.005000) # AzGN07
circle(189.191037,62.244971,0.005000) # AzGN08
circle(189.409287,62.293221,0.005000) # AzGN09
circle(189.112620,62.204998,0.005000) # AzGN10
circle(189.148412,62.118387,0.005000) # AzGN11
circle(189.138204,62.105026,0.005000) # AzGN12
circle(188.974412,62.229193,0.005000) # AzGN13
circle(189.217704,62.206693,0.005000) # AzGN14
circle(188.952662,62.258304,0.005000) # AzGN15
circle(189.067412,62.255026,0.005000) # AzGN16
circle(188.919120,62.243359,0.005000) # AzGN17
circle(189.419995,62.206471,0.005000) # AzGN18
circle(189.018037,62.116721,0.005000) # AzGN19
circle(189.301495,62.177276,0.005000) # AzGN20
circle(189.508162,62.270165,0.005000) # AzGN21
circle(189.207079,62.203332,0.005000) # AzGN22
circle(189.320037,62.292276,0.005000) # AzGN23
circle(189.035245,62.244915,0.005000) # AzGN24
circle(189.217912,62.084276,0.005000) # AzGN25
circle(189.307745,62.307443,0.005000) # AzGN26
circle(189.332162,62.205971,0.005000) # AzGN27
circle(189.181662,62.326637,0.005000) # AzGN28
circle(189.088079,62.320026,0.005000) # AzGN29
circle(189.178454,62.288415,0.005000) # AzGN30
circle(189.092329,62.269721,0.005000) # AzGN31
circle(189.321412,62.232221,0.005000) # AzGN32
circle(189.214245,62.339915,0.005000) # AzGN33
circle(189.201245,62.351526,0.005000) # AzGN34
circle(189.575829,62.241610,0.005000) # AzGN35
circle(189.072412,62.262637,0.005000) # AzGN36
# Region file format: DS9 astropy/regions
fk5
circle(189.1416,62.2356,0.0049)
circle(189.2748,62.1964,0.0049)
circle(189.3007,62.2223,0.0049)
circle(189.1231,62.2199,0.0049)
circle(189.2142,62.2609,0.0049)
circle(189.2169,62.2073,0.0049)
circle(189.2379,62.2249,0.0049)
circle(189.2922,62.2265,0.0049)
circle(189.1522,62.1871,0.0049)
circle(189.1048,62.2362,0.0049)
circle(189.1912,62.2451,0.0049)
circle(189.2340,62.1720,0.0049)
circle(189.141579,62.235554,0.004861) # GDF-2000.1
circle(189.274787,62.196443,0.004861) # GDF-2000.2
circle(189.300704,62.222332,0.004861) # GDF-2000.3
circle(189.123079,62.219915,0.004861) # GDF-2000.4
circle(189.214162,62.260860,0.004861) # GDF-2000.5
circle(189.216912,62.207332,0.004861) # GDF-2000.6
circle(189.237870,62.224915,0.004861) # GDF-2000.7
circle(189.292162,62.226526,0.004861) # GDF-2000.8
circle(189.152245,62.187082,0.004861) # GDF-2000.9
circle(189.104829,62.236248,0.004861) # GDF-2000.10
circle(189.191162,62.245054,0.004861) # GDF-2000.11
circle(189.234037,62.171971,0.004861) # GDF-2000.12
......@@ -45,7 +45,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': name}) for coord, name in zip(coords, data['GN_name'])]
# Meta is PER region, so no way to include global meta yet
# reg[0].meta = data.meta
......@@ -80,7 +80,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': name}) for coord, name in zip(coords, data['Source ID'])]
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
......@@ -115,7 +115,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': name}) for coord, name in zip(coords, data['ID'])]
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
......@@ -151,7 +151,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': name}) for coord, name in zip(coords, data['Nickname'])]
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
......@@ -181,7 +181,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': 'GOODSH.{}'.format(name)}) for coord,name in zip(coords, data['id'])]
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
......@@ -207,7 +207,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': 'HERMES XID.{}'.format(name)}) for coord,name in zip(coords, data['xid'])]
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
......@@ -257,7 +257,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': str(name)}) for coord, name in zip(coords, data['ID'])]
# Meta is PER region, so no way to include global meta yet
# reg[0].meta = data.meta
......@@ -301,7 +301,7 @@ data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
reg = [CircleSkyRegion(coord, fwhm, meta={'comment': str(name)}) for coord, name in zip(coords, data['ID'])]
# Meta is PER region, so no way to include global meta yet
# reg[0].meta = data.meta
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment