In [3]:
import sys
sys.path.append('../../src/utils/')

from galenv import *

%matplotlib inline

In [11]:
primary= ['J0541-0211', 'J1733-3722', 'J1610-3958', 'J1743-0350', 'J2253+1608', 
 'J1851+0035', 'J0541-0541', 'J0601-7036', 'J1130-1449', 'J1305-4928', 
 'J0336+3218', 'J0006-0623', 'J1717-3342', 'J1833-210B', 'J0237+2848', 
 'J0750+1231', 'J1751+0939', 'J0948+0022', 'J1107-4449', 'J1256-0547', 
 'J1830+0619', 'J1225+1253']

In [12]:
ga = Galenv()

In [14]:
for obj in primary:
    name = "PKS "+obj
    try:
        ga.conedv_byname(name, 1.0, 1000.0, show=True, savefig=False)
    except:
        print("No")


Query from name:  PKS J0541-0211
No
Query from name:  PKS J1733-3722
No
Query from name:  PKS J1610-3958
No
Query from name:  PKS J1743-0350
RA, Dec (deg)  :  265.99523 -3.83462
Redshift :  1.054
Velocity :  315981.0
Angular-diameter distance :  1717.70727627639  Mpc
Angular radius for 1.0 Mpc seen from distance 1717.70727627639 Mpc :  0.03335596251142797  deg
Searching objects in cone section... 
theta = 0.03335596251142797 deg; v = [314981.0, 316981.0]
Query from name:  PKS J2253+1608
RA, Dec (deg)  :  343.49062 16.14821
Redshift :  0.859
Velocity :  257522.0
Angular-diameter distance :  1629.9307676687627  Mpc
Angular radius for 1.0 Mpc seen from distance 1629.9307676687627 Mpc :  0.035152278028980716  deg
Searching objects in cone section... 
theta = 0.035152278028980716 deg; v = [256522.0, 258522.0]
Query from name:  PKS J1851+0035
No
Query from name:  PKS J0541-0541
RA, Dec (deg)  :  85.40868 -5.69706
Redshift :  0.839
Velocity :  251526.0
Angular-diameter distance :  1618.0605034352159  Mpc
Angular radius for 1.0 Mpc seen from distance 1618.0605034352159 Mpc :  0.03541015888555513  deg
Searching objects in cone section... 
theta = 0.03541015888555513 deg; v = [250526.0, 252526.0]
Query from name:  PKS J0601-7036
No
Query from name:  PKS J1130-1449
RA, Dec (deg)  :  172.52939 -14.82427
Redshift :  1.184
Velocity :  354954.0
Angular-diameter distance :  1753.737300779338  Mpc
Angular radius for 1.0 Mpc seen from distance 1753.737300779338 Mpc :  0.03267067393025217  deg
Searching objects in cone section... 
theta = 0.03267067393025217 deg; v = [353954.0, 355954.0]
Query from name:  PKS J1305-4928
RA, Dec (deg)  :  196.36449 -49.46821
Redshift :  0.001878
Velocity :  563.0
Angular-diameter distance :  8.292149410020395  Mpc
Angular radius for 1.0 Mpc seen from distance 8.292149410020395 Mpc :  6.909641478944529  deg
Searching objects in cone section... 
theta = 6.909641478944529 deg; v = [-437.0, 1563.0]
No
Query from name:  PKS J0336+3218
No
Query from name:  PKS J0006-0623
RA, Dec (deg)  :  1.55789 -6.39315
Redshift :  0.346676
Velocity :  103931.0
Angular-diameter distance :  1044.0300496957655  Mpc
Angular radius for 1.0 Mpc seen from distance 1044.0300496957655 Mpc :  0.054879435251675504  deg
Searching objects in cone section... 
theta = 0.054879435251675504 deg; v = [102931.0, 104931.0]
Query from name:  PKS J1717-3342
No
Query from name:  PKS J1833-210B
No
Query from name:  PKS J0237+2848
No
Query from name:  PKS J0750+1231
RA, Dec (deg)  :  117.71686 12.51801
Redshift :  0.889
Velocity :  266516.0
Angular-diameter distance :  1646.623423400248  Mpc
Angular radius for 1.0 Mpc seen from distance 1646.623423400248 Mpc :  0.03479592158039849  deg
Searching objects in cone section... 
theta = 0.03479592158039849 deg; v = [265516.0, 267516.0]
Query from name:  PKS J1751+0939
RA, Dec (deg)  :  267.88674 9.6502
Redshift :  0.322
Velocity :  96533.0
Angular-diameter distance :  994.3201278022433  Mpc
Angular radius for 1.0 Mpc seen from distance 994.3201278022433 Mpc :  0.05762307119310138  deg
Searching objects in cone section... 
theta = 0.05762307119310138 deg; v = [95533.0, 97533.0]
Query from name:  PKS J0948+0022
No
Query from name:  PKS J1107-4449
RA, Dec (deg)  :  166.78622 -44.81877
Redshift :  1.598
Velocity :  479068.0
Angular-diameter distance :  1793.3027653878596  Mpc
Angular radius for 1.0 Mpc seen from distance 1793.3027653878596 Mpc :  0.03194986402683111  deg
Searching objects in cone section... 
theta = 0.03194986402683111 deg; v = [478068.0, 480068.0]
Query from name:  PKS J1256-0547
RA, Dec (deg)  :  194.04653 -5.78931
Redshift :  0.5362
Velocity :  160749.0
Angular-diameter distance :  1344.817110605312  Mpc
Angular radius for 1.0 Mpc seen from distance 1344.817110605312 Mpc :  0.04260488586979167  deg
Searching objects in cone section... 
theta = 0.04260488586979167 deg; v = [159749.0, 161749.0]
Query from name:  PKS J1830+0619
No
Query from name:  PKS J1225+1253
RA, Dec (deg)  :  186.2656 12.88698
Redshift :  0.003392
Velocity :  1017.0
Angular-diameter distance :  14.949233862918131  Mpc
Angular radius for 1.0 Mpc seen from distance 14.949233862918131 Mpc :  3.832690025353448  deg
Searching objects in cone section... 
theta = 3.832690025353448 deg; v = [17.0, 2017.0]
No

In [3]:
ga.conedv_byname("PKS J0334-4008", 1., 1000., show=True, savefig=True, imgname="PKSJ0334-4008_env.png")
ga.cone_byname("PKS J0334-4008", 0.008, show=True, savefig=True, imgname="PKSJ0334-4008_cone.png")


Query from name:  PKS J0334-4008
RA, Dec (deg)  :  53.55689 -40.14039
Redshift :  1.445
Velocity :  433200.0
Angular-diameter distance :  1788.93008818  Mpc
Angular radius for 1.0 Mpc seen from distance 1788.93008818 Mpc :  0.0320279589971  deg
Searching objects in cone section... 
theta = 0.0320279589971 deg; v = [432200.0, 434200.0]
Query from name:  PKS J0334-4008
RA, Dec (deg)  :  53.55689 -40.14039
Searching objects in cone (only).. 
theta = 0.008 deg
Out[3]:
<Table masked=True length=3>
No.Object NameRA(deg)DEC(deg)TypeVelocityRedshiftRedshift FlagMagnitude and FilterDistance (arcmin)ReferencesNotesPhotometry PointsPositionsRedshift PointsDiameter PointsAssociations
degreesdegreeskm / sarcm
int32str30float64float64objectfloat64float64objectobjectfloat64int32int32int32int32int32int32int32
1GALEXASC J033412.25-400804.853.55095-40.135289999999998G----18.640.409999999999999980052000
2[HB89] 0332-40353.556890000000003-40.140389999999996QSO433200.01.445000000000000118.50.016579428600
3MRSS 301-04588353.562890000000003-40.144860000000001G----19.1r0.384000000000000010000000

In [4]:
ga.conedv_byname("PKS J0423-0120", 1., 1000., show=True, savefig=True, imgname="PKS J0423-0120_env.png")


Query from name:  PKS J0423-0120
RA, Dec (deg)  :  65.81584 -1.34252
Redshift :  0.916087
Velocity :  274636.0
Angular-diameter distance :  1660.60635858  Mpc
Angular radius for 1.0 Mpc seen from distance 1660.60635858 Mpc :  0.0345029267273  deg
Searching objects in cone section... 
theta = 0.0345029267273 deg; v = [273636.0, 275636.0]
Out[4]:
<Table masked=True length=1>
No.Object NameRA(deg)DEC(deg)TypeVelocityRedshiftRedshift FlagMagnitude and FilterDistance (arcmin)ReferencesNotesPhotometry PointsPositionsRedshift PointsDiameter PointsAssociations
degreesdegreeskm / sarcm
int32str30float64float64objectfloat64float64objectobjectfloat64int32int32int32int32int32int32int32
25[HB89] 0420-01465.815839999999994-1.3425199999999999QSO274636.00.9160869999999999818.1b0.00159012172351500

In [5]:
ga.conedv_byname("NGC 1052", 0.2, 500., show=True, savefig=True, imgname="NGC1052.png")


Query from name:  NGC 1052
RA, Dec (deg)  :  40.26999 -8.25576
Redshift :  0.005037
Velocity :  1510.0
Angular-diameter distance :  22.1542784031  Mpc
Angular radius for 0.2 Mpc seen from distance 22.1542784031 Mpc :  0.517243472982  deg
Searching objects in cone section... 
theta = 0.517243472982 deg; v = [1010.0, 2010.0]
Out[5]:
<Table masked=True length=28>
No.Object NameRA(deg)DEC(deg)TypeVelocityRedshiftRedshift FlagMagnitude and FilterDistance (arcmin)ReferencesNotesPhotometry PointsPositionsRedshift PointsDiameter PointsAssociations
degreesdegreeskm / sarcm
int32str30float64float64objectfloat64float64objectobjectfloat64int32int32int32int32int32int32int32
716NGC 103539.871209999999998-8.1329399999999996G1241.00.004139999999999999612.8924.803000000000001181451131390
7412MFGC 0210139.874670000000002-8.1391899999999993PofG1392.00.004643000000000000413.5K24.4978000100
752HDCE 016039.875830000000001-7.9438899999999997GGroup1432.00.00477729.9729999999999991000100
3641NGC 104240.09986-8.4335400000000007G1371.00.004572999999999999811.5B14.6920010831114150
4230NGC 104740.136830000000003-8.1476699999999997G1340.00.0044714.3g10.2275225694140
5867SDSS J024059.55-081845.140.248130000000003-8.3125300000000006*Cl1659.00.005533999999999999921.7g3.6451051040
5974NGC 1052:[PBF2005] GC2940.254170000000002-8.2666699999999995*Cl1273.00.00424599999999999981.1451000000
5983SDSS J024101.13-081650.440.254750000000001-8.2806800000000003*Cl1619.00.005400000000000000323.5g1.7481051040
5998NGC 1052:[PBF2005] GC3740.255420000000001-8.2726900000000008*Cl1443.00.00481299999999999961.3351000000
...................................................
6376NGC 1052:[PBF2005] GC7440.27375-8.2145299999999999*Cl1675.00.0055872.4841000000
6378CXO J024105.71-081455.140.273820000000001-8.2486499999999996*Cl1649.00.00549999999999999970.482999999999999982010001
6439NGC 1052:[PBF2005] GC1240.276670000000003-8.2094199999999997*Cl1610.00.00536999999999999982.80900000000000021000000
6470SDSS J024106.82-081347.640.27843-8.2299000000000007*Cl1415.00.004720000000000000222.6g1.6311051040
6694NGC 0988 GROUP40.288939999999997-8.1194299999999995GGroup1477.00.0049278.256999999999999718000000
7625LDCE 018240.34375-8.2063900000000007GGroup1442.00.004815.28699999999999991000100
7795LEDA 309791140.356380000000001-8.1268600000000006G1412.00.004709999999999999813.5K9.28100000000000069001000
83962MASX J02413514-081024340.396099999999997-8.1734799999999996G1530.00.005105000000000000215.8g8.9689999999999994180383360
9333SDSS J024149.95-075530.040.458129999999997-7.92502G1372.00.004575000000000000115.5g22.7749999999999992004331100
9834[TSK2008] 088940.495429999999999-7.9678000000000004GGroup1421.00.004740000000000000321.8590000000000021000100

In [6]:
ga.cone_byname("NGC 1052", 0.2, show=True, savefig=True, imgname="NGC1052_cone.png")


Query from name:  NGC 1052
RA, Dec (deg)  :  40.26999 -8.25576
Searching objects in cone (only).. 
theta = 0.2 deg
Out[6]:
<Table masked=True length=2011>
No.Object NameRA(deg)DEC(deg)TypeVelocityRedshiftRedshift FlagMagnitude and FilterDistance (arcmin)ReferencesNotesPhotometry PointsPositionsRedshift PointsDiameter PointsAssociations
degreesdegreeskm / sarcm
int32str30float64float64objectfloat64float64objectobjectfloat64int32int32int32int32int32int32int32
1SDSS J024017.17-081441.340.071570000000001-8.2448200000000007*----21.8g11.8011051041
22XMM J024017.2-08143440.071869999999997-8.24282XrayS----11.7899999999999991000001
3SDSS J024017.63-081256.340.073480000000004-8.2156500000000001*----22.4g11.9149999999999990051040
4GALEXMSC J024017.82-081517.340.074269999999999-8.2548300000000001UvS----11.6220041000
5SDSS J024018.24-081723.640.07602-8.2899100000000008G----22.5g11.69800151040
6SDSS J024018.49-081219.040.077080000000002-8.2052999999999994G----22.6g11.84900151040
7SDSS J024018.63-081257.240.077660000000002-8.2158999999999995G----22.3g11.66900151040
8SDSS J024018.88-081855.040.078679999999999-8.3152799999999996G----23.2g11.90700191030
9GALEXMSC J024018.98-081532.940.079090000000001-8.2591699999999992UvS----11.3370041000
...................................................
2002SDSS J024151.32-081413.340.463839999999998-8.2370300000000007G----22.5g11.56500151040
2003SDSS J024151.50-081545.740.464590000000001-8.2627000000000006*----24.0g11.5619999999999990051030
2004SDSS J024151.63-081718.040.465139999999998-8.2883600000000008*----25.5g11.7509999999999990051040
2005SDSS J024151.63-081417.140.465139999999998-8.2380999999999993*----24.5g11.6359999999999990051030
2006GALEXMSC J024151.80-081352.340.465870000000002-8.2312100000000008UvS----11.7240031000
2007GALEXMSC J024152.17-081410.640.467390000000002-8.2362800000000007UvS----11.7790041000
2008SDSS J024152.41-081519.040.468389999999999-8.2553099999999997G----20.1g11.77999999999999900191040
2009SDSS J024152.48-081516.340.468679999999999-8.2545400000000004*----22.4g11.7980051040
2010SDSS J024152.72-081349.040.46969-8.2302900000000001*----21.1g11.9560051040
2011SDSS J024153.29-081518.240.472090000000001-8.2550799999999995G----17.9r12.010232040

In [ ]: