Skip to content

Commit

Permalink
fix: need to remove query to SED service, too frail
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Jan 22, 2025
1 parent feaf208 commit df32b97
Show file tree
Hide file tree
Showing 2 changed files with 17,879 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"data": {
"text/html": [
"<div><i>Table length=116</i>\n",
"<table id=\"table140468849830528\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120942403968\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>name</th><th>description</th><th>type</th></tr></thead>\n",
"<thead><tr><th>object</th><th>object</th><th>object</th></tr></thead>\n",
"<tr><td>mesDiameter</td><td>Collection of stellar diameters.</td><td>table</td></tr>\n",
Expand Down Expand Up @@ -259,7 +259,7 @@
"data": {
"text/html": [
"<div><i>Table length=114</i>\n",
"<table id=\"table140469496777184\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120971520256\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>main_id</th><th>ra</th><th>dec</th><th>coo_err_maj</th><th>coo_err_min</th><th>coo_err_angle</th><th>coo_wavelength</th><th>coo_bibcode</th><th>otype</th><th>catalog_id</th></tr></thead>\n",
"<thead><tr><th></th><th>deg</th><th>deg</th><th>mas</th><th>mas</th><th>deg</th><th></th><th></th><th></th><th></th></tr></thead>\n",
"<thead><tr><th>object</th><th>float64</th><th>float64</th><th>float32</th><th>float32</th><th>int16</th><th>str1</th><th>object</th><th>object</th><th>object</th></tr></thead>\n",
Expand Down Expand Up @@ -396,13 +396,13 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "fce90bd016ba4ff183878e283896a424",
"model_id": "a0f5ab408a574032888a1f86f4017235",
"version_major": 2,
"version_minor": 1
},
Expand Down Expand Up @@ -622,7 +622,7 @@
"data": {
"text/html": [
"<i>Row index=0</i>\n",
"<table id=\"table140468837457488\">\n",
"<table id=\"table140120926774064\">\n",
"<thead><tr><th>3FGL</th><th>Na</th><th>RAJ2000</th><th>DEJ2000</th><th>amaj</th><th>amin</th><th>phi</th><th>Sig</th><th>F35</th><th>S25</th><th>Gamma</th><th>Mod</th><th>Var</th><th>Flag</th><th>Assoc</th><th>TeV</th><th>Class</th><th>ID</th><th>Simbad</th></tr></thead>\n",
"<thead><tr><th></th><th></th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th></th><th>1e-05 / (s m2)</th><th>fW / m2</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th></tr></thead>\n",
"<thead><tr><th>str13</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>str2</th><th>str1</th><th>str12</th><th>str18</th><th>str1</th><th>str5</th><th>str26</th><th>str6</th></tr></thead>\n",
Expand Down Expand Up @@ -650,7 +650,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"metadata": {
"scrolled": true,
"tags": [
Expand All @@ -662,7 +662,7 @@
"data": {
"text/html": [
"<i>Row index=0</i>\n",
"<table id=\"table140468837457680\">\n",
"<table id=\"table140120926775552\">\n",
"<thead><tr><th>File</th><th>3FGL</th><th>LC</th><th>F1</th><th>E_F1</th><th>F2</th><th>E_F2</th><th>F3</th><th>E_F3</th><th>F4</th><th>E_F4</th><th>F5</th><th>E_F5</th></tr></thead>\n",
"<thead><tr><th></th><th></th><th></th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th></tr></thead>\n",
"<thead><tr><th>str13</th><th>str13</th><th>str2</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th></tr></thead>\n",
Expand Down Expand Up @@ -702,7 +702,7 @@
"data": {
"text/html": [
"<i>Row index=0</i>\n",
"<table id=\"table140468837451104\">\n",
"<table id=\"table140120926768304\">\n",
"<thead><tr><th>Flag</th><th>Note</th></tr></thead>\n",
"<thead><tr><th>int16</th><th>str347</th></tr></thead>\n",
"<tr><td>1</td><td>Source with TS&gt;35, which went to TS&lt;25 when changing the diffuse model (Section 3.7.3) or the analysis method (Section 3.7.4). Sources with TS&lt;=35 are not flagged with this bit because normal statistical fluctuations can push them to TS&lt;25.</td></tr>\n",
Expand Down Expand Up @@ -756,7 +756,7 @@
"data": {
"text/html": [
"<i>Row index=0</i>\n",
"<table id=\"table140468837456624\">\n",
"<table id=\"table140120926772528\">\n",
"<thead><tr><th>3FGL</th><th>Na</th><th>RAJ2000</th><th>DEJ2000</th><th>amaj</th><th>amin</th><th>phi</th><th>Sig</th><th>F35</th><th>S25</th><th>Gamma</th><th>Mod</th><th>Var</th><th>Flag</th><th>Assoc</th><th>TeV</th><th>Class</th><th>ID</th><th>Simbad</th><th>File</th><th>LC</th><th>F1</th><th>E_F1</th><th>F2</th><th>E_F2</th><th>F3</th><th>E_F3</th><th>F4</th><th>E_F4</th><th>F5</th><th>E_F5</th></tr></thead>\n",
"<thead><tr><th></th><th></th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th></th><th>1e-05 / (s m2)</th><th>fW / m2</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th></tr></thead>\n",
"<thead><tr><th>str13</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>str2</th><th>str1</th><th>str12</th><th>str18</th><th>str1</th><th>str5</th><th>str26</th><th>str6</th><th>str13</th><th>str2</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th></tr></thead>\n",
Expand Down Expand Up @@ -814,7 +814,7 @@
"data": {
"text/html": [
"<div><i>Table length=5</i>\n",
"<table id=\"table140468834488288\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120926775648\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>main_id</th><th>ra</th><th>dec</th><th>coo_err_maj</th><th>coo_err_min</th><th>coo_err_angle</th><th>coo_wavelength</th><th>coo_bibcode</th><th>otype</th><th>catalog_id</th></tr></thead>\n",
"<thead><tr><th></th><th>deg</th><th>deg</th><th>mas</th><th>mas</th><th>deg</th><th></th><th></th><th></th><th></th></tr></thead>\n",
"<thead><tr><th>object</th><th>float64</th><th>float64</th><th>float32</th><th>float32</th><th>int16</th><th>str1</th><th>object</th><th>object</th><th>object</th></tr></thead>\n",
Expand Down Expand Up @@ -943,7 +943,7 @@
"data": {
"text/html": [
"<div><i>Table length=73</i>\n",
"<table id=\"table140468439948784\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120529981840\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>main_id</th><th>ra</th><th>dec</th><th>coo_err_maj</th><th>coo_err_min</th><th>coo_err_angle</th><th>coo_wavelength</th><th>coo_bibcode</th><th>otype</th><th>catalog_id</th><th>3FGL</th><th>Na</th><th>RAJ2000</th><th>DEJ2000</th><th>amaj</th><th>amin</th><th>phi</th><th>Sig</th><th>F35</th><th>S25</th><th>Gamma</th><th>Mod</th><th>Var</th><th>Flag</th><th>Assoc</th><th>TeV</th><th>Class</th><th>ID</th><th>Simbad</th><th>File</th><th>LC</th><th>F1</th><th>E_F1</th><th>F2</th><th>E_F2</th><th>F3</th><th>E_F3</th><th>F4</th><th>E_F4</th><th>F5</th><th>E_F5</th><th>Ang_Sep</th></tr></thead>\n",
"<thead><tr><th></th><th>deg</th><th>deg</th><th>mas</th><th>mas</th><th>deg</th><th></th><th></th><th></th><th></th><th></th><th></th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th></th><th>1e-05 / (s m2)</th><th>fW / m2</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>deg</th></tr></thead>\n",
"<thead><tr><th>object</th><th>float64</th><th>float64</th><th>float32</th><th>float32</th><th>int16</th><th>str1</th><th>object</th><th>object</th><th>object</th><th>str13</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>str2</th><th>str1</th><th>str12</th><th>str18</th><th>str1</th><th>str5</th><th>str26</th><th>str6</th><th>str13</th><th>str2</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float64</th></tr></thead>\n",
Expand Down Expand Up @@ -1093,7 +1093,7 @@
"data": {
"text/html": [
"<div><i>Table length=55</i>\n",
"<table id=\"table140468831227776\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120926768736\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>3FGL</th><th>LL</th><th>VHE</th><th>SpCl</th><th>SEDCl</th><th>z</th><th>alpha</th><th>e_alpha</th><th>Var</th></tr></thead>\n",
"<thead><tr><th>str12</th><th>str1</th><th>str21</th><th>str6</th><th>str3</th><th>float32</th><th>float32</th><th>float32</th><th>float64</th></tr></thead>\n",
"<tr><td>J0013.9-1853</td><td></td><td>SHBL J001355.9-185406</td><td>bll</td><td>HSP</td><td>0.094</td><td>1.935</td><td>0.167</td><td>36.46</td></tr>\n",
Expand Down Expand Up @@ -1184,7 +1184,7 @@
"data": {
"text/html": [
"<div><i>Table length=5</i>\n",
"<table id=\"table140468837457296\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120910681904\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>main_id</th><th>ra</th><th>dec</th><th>coo_err_maj</th><th>coo_err_min</th><th>coo_err_angle</th><th>coo_wavelength</th><th>coo_bibcode</th><th>otype</th><th>catalog_id</th><th>3FGL</th><th>Na</th><th>RAJ2000</th><th>DEJ2000</th><th>amaj</th><th>amin</th><th>phi</th><th>Sig</th><th>F35</th><th>S25</th><th>Gamma</th><th>Mod</th><th>Var_1</th><th>Flag</th><th>Assoc</th><th>TeV</th><th>Class</th><th>ID</th><th>Simbad</th><th>File</th><th>LC</th><th>F1</th><th>E_F1</th><th>F2</th><th>E_F2</th><th>F3</th><th>E_F3</th><th>F4</th><th>E_F4</th><th>F5</th><th>E_F5</th><th>Ang_Sep</th><th>LL</th><th>VHE</th><th>SpCl</th><th>SEDCl</th><th>z</th><th>alpha</th><th>e_alpha</th><th>Var_2</th></tr></thead>\n",
"<thead><tr><th></th><th>deg</th><th>deg</th><th>mas</th><th>mas</th><th>deg</th><th></th><th></th><th></th><th></th><th></th><th></th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th>deg</th><th></th><th>1e-05 / (s m2)</th><th>fW / m2</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>0.0001 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-05 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>1e-06 / (s m2)</th><th>deg</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th></tr></thead>\n",
"<thead><tr><th>object</th><th>float64</th><th>float64</th><th>float32</th><th>float32</th><th>int16</th><th>str1</th><th>object</th><th>object</th><th>object</th><th>str13</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>int16</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>str2</th><th>str1</th><th>str12</th><th>str18</th><th>str1</th><th>str5</th><th>str26</th><th>str6</th><th>str13</th><th>str2</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float32</th><th>float64</th><th>str1</th><th>str21</th><th>str6</th><th>str3</th><th>float32</th><th>float32</th><th>float32</th><th>float64</th></tr></thead>\n",
Expand Down Expand Up @@ -18963,7 +18963,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7785811f93f6459eb5a19be2ed1a58ad",
"model_id": "948c3ed5e49d4ae497c5905012fc35c4",
"version_major": 2,
"version_minor": 1
},
Expand Down Expand Up @@ -19014,9 +19014,9 @@
"data": {
"text/html": [
"<div><i>Table length=1482</i>\n",
"<table id=\"table140468418623008\" class=\"table-striped table-bordered table-condensed\">\n",
"<table id=\"table140120521898656\" class=\"table-striped table-bordered table-condensed\">\n",
"<thead><tr><th>_RAJ2000</th><th>_DEJ2000</th><th>_tabname</th><th>_ID</th><th>_tab1_31</th><th>_tab1_32</th><th>sed_freq</th><th>sed_flux</th><th>sed_eflux</th><th>sed_filter</th></tr></thead>\n",
"<thead><tr><th>deg</th><th>deg</th><th></th><th></th><th>d</th><th></th><th>GHz</th><th>Jy</th><th>Jy</th><th></th></tr></thead>\n",
"<thead><tr><th>deg</th><th>deg</th><th></th><th></th><th>d</th><th>---</th><th>GHz</th><th>Jy</th><th>Jy</th><th>---</th></tr></thead>\n",
"<thead><tr><th>float64</th><th>float64</th><th>str32</th><th>str64</th><th>float64</th><th>float64</th><th>float64</th><th>float32</th><th>float32</th><th>str32</th></tr></thead>\n",
"<tr><td>329.716940600</td><td>-30.225596400</td><td>I/297/out</td><td>NOMAD1===0597-1038713&amp;-c=329.7169406 -30.2255964,eq=J2000&amp;-c.rs=</td><td>--</td><td>0.0</td><td>181750</td><td>0.0524</td><td>--</td><td>2MASS:H</td></tr>\n",
"<tr><td>329.716940600</td><td>-30.225596400</td><td>I/297/out</td><td>NOMAD1===0597-1038713&amp;-c=329.7169406 -30.2255964,eq=J2000&amp;-c.rs=</td><td>--</td><td>0.0</td><td>241960</td><td>0.0435</td><td>--</td><td>2MASS:J</td></tr>\n",
Expand All @@ -19042,7 +19042,7 @@
"text/plain": [
"<Table length=1482>\n",
" _RAJ2000 _DEJ2000 ... sed_eflux sed_filter\n",
" deg deg ... Jy \n",
" deg deg ... Jy --- \n",
" float64 float64 ... float32 str32 \n",
"------------- ------------- ... --------- ----------\n",
"329.716940600 -30.225596400 ... -- 2MASS:H\n",
Expand Down Expand Up @@ -19072,11 +19072,13 @@
}
],
"source": [
"object_coordinates = SkyCoord.from_name(object_name)\n",
"# object_coordinates = SkyCoord.from_name(object_name)\n",
"# here, were doing a query in a circle directly with an url to get the SED VizieR tool:\n",
"query_url = f\"https://vizier.cds.unistra.fr/viz-bin/sed?-c={object_coordinates.icrs.ra.deg},{object_coordinates.icrs.dec.deg}&-c.rs=5\"\n",
"# query_url = f\"https://vizier.cds.unistra.fr/viz-bin/sed?-c={object_coordinates.icrs.ra.deg},{object_coordinates.icrs.dec.deg}&-c.rs=5\"\n",
"# since this can be a bit long, we saved the file in the folder Data. You can uncomment\n",
"# the url and comment the next line if you prefer to download the file:\n",
"query_url = \"Data/sed_result.vot\"\n",
"query = Table.read(query_url, format=\"votable\")\n",
"# this can be a bit long ~15s with a good internet connexion\n",
"query"
]
},
Expand Down
Loading

0 comments on commit df32b97

Please sign in to comment.