2014-02-18T10:08:08Z
GAIA Cycle 8 Simulated Spectra
We publish spectra simulated using GOG during the Gaia DPAC
Cycle 8. This comprises both spectra from the radial velocity
spectrograph ("RV spectra") and those from the RP/BP instrument
("RPBP spectra"). TODO: More on GOG and such.
TBD
spectroscopy
AllSky ICRS
Optical
GAIA report GAIA-C2-UG-UB-YI-003-c8
305.6575527105262, 306.4806349393949, 307.31171104753605,
308.15090848314975, 308.9983574704289, 309.8541910855298,
310.71854533491756, 311.5915592363585, 312.47337490258576,
313.36413762766733, 314.263995976359, 315.1731018763765,
316.0916107137753, 317.019681431638, 317.9574766320009,
318.90516268139635, 319.86290981989976, 320.8308922740285,
321.8092883735616, 322.79828067235474, 323.7980560735126,
324.80880595889374, 325.83072632320585, 326.8640179129704,
327.9088863703429, 328.9655423822041, 330.0342018346507,
331.11508597301986, 332.20842156790064, 333.31444108716096,
334.4333828743392, 335.56549133376706, 336.7110171224703,
337.87021734944136, 339.0433557822975, 340.23070306189317,
341.43253692513554, 342.6491424362592, 343.88081222718273,
345.1278467470988, 346.3905545218141, 347.66925242338635,
348.96426595024855, 350.2759295186374, 351.60458676549587,
352.9505908636566, 354.3143048497584, 355.6961019653669,
357.0963660121988, 358.51549172182087, 359.95388514062665,
361.4119640309346, 362.8901582886767, 364.3889103787726,
365.9086757889116, 367.44992350250124, 369.01313649204326,
370.5988122335209, 372.2074632432486, 373.8396176379509,
375.4958197193622, 377.17663058472874, 378.8826287640673,
380.6144108861857, 382.3725923742676, 384.15780817289476,
385.97071350819135, 387.8119846824256, 389.68231990533025,
391.58244016366245, 393.51309013117174, 395.47503912127615,
397.46908208431927, 399.4960406521913, 401.55676423269733,
403.65213115618144, 405.78304987768144, 407.95046023721926,
410.1553347816094, 412.3986801513856, 414.68153853601603,
417.0049892017012, 419.3701500956585, 421.77817953103147,
424.2302779575447, 426.7276898221921, 429.2717055258247,
431.8636634806925, 434.50495227507224, 437.197012951537,
439.94134140507276, 442.7394909087684, 445.5930747745435,
448.5037691568573, 451.4733160087608, 454.5035261988968,
457.59628280022275, 460.75354456054316, 463.9773495665612,
467.2698191140441, 470.6331617964189, 474.0696778271752,
477.5817636099821, 481.17191657349355, 484.8427402884925,
488.5969498854761, 492.43737779386527, 496.36697982391007,
500.3888416151603, 504.50618547705693, 508.72237764874643,
513.0409360081236, 517.4655382618452, 522.0000306512009,
526.648437211912, 531.4149696280788, 536.304037725015,
541.3202606497163, 546.4684787905782, 551.7537664946826,
557.1814456448419, 562.7571001642831, 568.4865915249203,
574.3760753396945, 580.4320191303102, 586.6612213678477,
593.0708318952321, 599.6683738516848, 606.4617672292571,
613.4593542094722, 620.6699264385331, 628.1027544207275,
635.76761922809, 643.6748467444687, 651.8353446902901,
660.2606426987302, 668.962935747884, 677.9551312889575,
687.2509004500967, 696.864733743097, 706.8120017513073,
717.1090213380114, 727.7731279838072, 738.8227549367308,
750.2775199535839, 762.1583205093228, 774.4874384734263,
787.2886553888046, 800.5873796458926, 814.4107870303129,
828.7879763336849, 843.7501419669458, 859.3307658065072,
875.565830838184, 892.4940595688748, 910.1571806375518,
928.6002276134169, 947.8718746274055, 968.0248142516045,
989.1161839775681, 1011.208048751325, 1034.3679483493784,
1058.6695199949354, 1084.193208546199, 1111.0270789553458,
1139.2677485790518, 1169.0214604442679, 1200.4053229426963,
1233.548746794831, 1268.5951168474305, 1305.7037446580066,
1345.052158376307, 1386.8387998290098, 1431.2862157509114,
1478.644851999796, 1529.197587872888, 1583.2651844665736,
1641.2128693757772, 1703.4583440313916, 1770.481585502387
579.7940447014479, 581.5739129094042, 583.3647421870324,
585.1667360712802, 586.9800993241001, 588.8050379837644,
590.6417594134922, 592.4904723468126, 594.3513869300316,
596.2247147618469, 598.1106689298368, 600.0094640439313,
601.921316266978, 603.8464433420771, 605.7850646167905,
607.7374010642104, 609.7036753007673, 611.6841116006261,
613.6789359066377, 615.6883758379264, 617.712660693698,
619.7520214534353, 621.8066907731586, 623.8769029779409,
625.9628940501175, 628.0649016134744, 630.1831649131046,
632.3179247907188, 634.4694236554423, 636.6379054497669,
638.8236156107981, 641.0268010262998, 643.2477099855626,
645.4865921250216, 647.7436983683891, 650.0192808609548,
652.3135928983672, 654.6268888492513, 656.9594240718542,
659.311454824349, 661.6832381689646, 664.0750318694442,
666.4870942818897, 668.9196842389974, 671.3730609274063,
673.8474837580768, 676.3432122296334, 678.8605057848339,
681.3996236597285, 683.9608247256938, 686.5443673244966,
689.1505090960352, 691.7795067989981, 694.4316161245757,
697.1070915032153, 699.8061859044564, 702.5291506300522,
705.276235100781, 708.0476866367576, 710.8437502316887,
713.664668321587, 716.5106805476886, 719.3820235146572,
722.2789305437085, 725.2016314218488, 728.1503521471004,
731.1253146704703, 734.1267366354571, 737.1548311152311,
740.2098063485306, 743.2918654746704, 746.4012062686623,
749.5380208771015, 752.7024955553102, 755.8948104072256,
759.1151391282153, 762.3636487521572, 765.6404994033778,
768.9458440548196, 772.2798282928769, 775.6425900899317,
779.0342595862528, 782.4549588811174, 785.9048018347909,
789.3838938824297, 792.8923318602705, 796.4302038454992,
799.9975890103112, 803.5945574915088, 807.221170275665,
810.8774791013353, 814.5635263786695, 818.2793451269106,
822.0249589306668, 825.8003819150915, 829.6056187408751,
833.4406646187937, 837.3055053443258, 841.2001173528182,
845.1244677944788, 849.0785146299708, 853.0622067460898,
857.0754840911935, 861.1182778303989, 865.1905105197693,
869.2920962995296, 873.4229411050948, 877.5829428955681,
881.77199189906, 885.9899708738843, 890.2367553845811,
894.5122140918988, 898.8162090561035, 903.1485960518871,
907.5092248940745, 911.8979397733419, 916.3145796000397,
920.7589783555868, 925.2309654495181, 929.7303660821693,
934.2570016103101, 938.810689915409, 943.3912457734976,
947.9984812248086, 952.6322059423862, 957.2922275989594,
961.9783522303088, 966.6903845944961, 971.4281285261545,
976.1913872847617, 980.9799638958895, 985.7936614847869,
990.6322836019555, 995.4956345393232, 1000.3835196370413,
1005.2957455799537, 1010.2321206836818, 1015.1924551697546,
1020.1765614290013, 1025.1842542739405, 1030.2153511788854,
1035.2696725083501, 1040.347041733139, 1045.4472856347425,
1050.57023449727, 1055.7157222873418, 1060.88358682222,
1066.0736699261586, 1071.2858175746564, 1076.519880027907,
1081.7757119525395, 1087.0531725327119, 1092.3521255702867,
1097.6724395751198, 1103.013987845007, 1108.3766485357467,
1113.7603047227703, 1119.1648444529592, 1124.5901607884184,
1130.036151841768, 1135.5027208041386, 1140.989775965377,
1146.4972307272465, 1152.0250036105163, 1157.573018255108,
1163.1412034151772, 1168.7294929479497, 1174.3378257981835,
1179.9661459774054, 1185.6144025387357, 1191.2825495480956,
1196.970546051245, 1202.6783560373874, 1208.4059484001557,
1214.153296895048, 1219.9203800950852, 1225.7071813434275,
1231.5136887047086, 1237.3398949140937, 1243.1857973248107
The object simulated to obtain spectra.
# D
'raj2000': obj.alpha*180/math.pi,
# D
'alphaerror': obj.alphaError,
# D
'dej2000': obj.delta*180/math.pi,
# D
'deltaerror': obj.deltaError,
# D
'parallax': obj.varpi/3600./1000,
# J
'source_id': obj.sourceId,
The simulated Gaia RV spectra by
object id; information on the objects is in the sources table.
# I
'cutindex': obj.cutIndex,
# I
'nbcombinedccd': obj.nbCombinedCcd,
# I
'nbcombinedtransit': obj.nbCombinedTransit,
# J
'solution_id': obj.solutionId,
# J
'source_id': obj.sourceId,
# S
'status': obj.status,
# S
'strip': obj.strip,
# J
'transit_id': obj.transitId,
# [D
'fluxes': numpy.array(obj.fluxes),
# [D
'fluxes_error': numpy.array(obj.fluxesError),
# [D
'wavelengths': numpy.array(obj.wavelengths),
rvdl
ssa_pubDID
//ssap#hcd
ignored
with base.getTableConn() as conn:
for rawdict in conn.queryToDicts(
"SELECT source_id, sources.*"
" FROM \schema.sources"
" NATURAL JOIN \schema.spectra"):
rawdict["accref"] = "c8spect/rv/%s"%rawdict["source_id"]
rawdict["pubDID"] = getStandardPubDID(rawdict["accref"])
yield rawdict
@accref
120000
makeAbsoluteURL(
"c8spect/q/rvdl/dlget?ID="+urllib.parse.quote(@pubDID))
"\schema.rvssa"
base.votableType
@raj2000
"Optical"
@dej2000
"Simulated Gaia RV spectrum for %s"%@source_id
3780
@pubDID
"GOG %s"%@source_id
The simulated Gaia RV spectra by
object id; information on the objects is in the sources table.
lc, uc
bp, BP
rp, RP
# J
'source_id': obj.sourceId,
# [D
'bp_fluxes': numpy.array(obj.bpFlux),
# [D
'bp_fluxes_error': numpy.array(obj.bpFluxError),
# [D
'rp_fluxes': numpy.array(obj.rpFlux),
# [D
'rp_fluxes_error': numpy.array(obj.rpFluxError),
rpbpdl
ssa_pubDID
//ssap#hcd
ignored
with base.getTableConn() as conn:
for rawdict in conn.queryToDicts(
"SELECT source_id, sources.*"
" FROM \schema.sources"
" NATURAL JOIN \schema.rpbpspectra"):
rawdict["accref"] = "c8spect/rpbp/%s"%rawdict["source_id"]
rawdict["pubDID"] = getStandardPubDID(rawdict["accref"])
yield rawdict
@accref
20000
makeAbsoluteURL(
"c8spect/q/rpbpdl/dlget?ID="+urllib.parse.quote(@pubDID))
"\schema.rpbpssa"
base.votableType
@raj2000
"Optical"
@dej2000
"Simulated Gaia BP/RP spectrum for %s"%@source_id
3780
@pubDID
"GOG %s"%@source_id
//ssap#sdm-instance
A GOG simulation of a spectrum obtained
by the radial velocity spectrograph aboard GAIA
sourceId = int(self.sourceToken["accref"].split("/")[-1])
with base.getTableConn() as conn:
for row in conn.query(
"SELECT wavelengths, fluxes, fluxes_error"
" FROM \schema.spectra"
" WHERE source_id=%(sourceId)s",
{"sourceId": sourceId}):
for spectral, flux, fluxerror in zip(*row):
yield locals()
break
C8Spec RV DL
Gaia Cycle 8 Simulated RV Spectra Datalink Service
"\rdId#rvssa"
"\rdId#get_rvinstance"
C8Spec RV SSA
Gaia Cycle 8 Simulated RV Spectra SSAP Service
artificial
REQUEST=queryData
archival
//ssap#sdm-instance
A GOG simulation of a spectrum obtained
by the RP/BP instrument aboard GAIA
# [rpbplambdas]
# we assume all spectral ranges are the same; that certainly seems so
# for the data we have, which is all for solution id
# 1152923226888832673; this stuff is taken from the
# meanspecwavelengthscale files
rpSpects = [\rpLambdas]
bpSpects = [\bpLambdas]
sourceId = int(self.sourceToken["accref"].split("/")[-1])
with base.getTableConn() as conn:
for row in conn.query(
"SELECT rp_fluxes, rp_fluxes_error"
" FROM \schema.rpbpspectra"
" WHERE source_id=%(sourceId)s",
{"sourceId": sourceId}):
for spectral, flux, fluxerror in zip(rpSpects, *row):
yield locals()
break
for row in conn.query(
"SELECT bp_fluxes, bp_fluxes_error"
" FROM \schema.rpbpspectra"
" WHERE source_id=%(sourceId)s",
{"sourceId": sourceId}):
for spectral, flux, fluxerror in zip(bpSpects, *row):
yield locals()
break
C8Spec RP/BP DL
Gaia Cycle 8 Simulated RP/BP
Spectra Datalink Service
"\rdId#rpbpssa"
"\rdId#get_rpbpinstance"
C8Spec RP/BP SSA
Gaia Cycle 8 Simulated RP/BP Spectra SSAP Service
artificial
REQUEST=queryData
archival