|
485 | 485 | " print(sv, ':', derived_multi_gnss[sv][0:2])" |
486 | 486 | ] |
487 | 487 | }, |
| 488 | + { |
| 489 | + "cell_type": "markdown", |
| 490 | + "id": "95e58b71", |
| 491 | + "metadata": {}, |
| 492 | + "source": [ |
| 493 | + "# TU Chemnitz SmartLoc\n", |
| 494 | + "This tutorial shows how to load data from TU Chemnitz's [smartLoc GNSS Dataset](https://www.tu-chemnitz.de/projekt/smartLoc/gnss_dataset.html.en#Datasets)." |
| 495 | + ] |
| 496 | + }, |
| 497 | + { |
| 498 | + "cell_type": "code", |
| 499 | + "execution_count": null, |
| 500 | + "id": "714dbb21", |
| 501 | + "metadata": {}, |
| 502 | + "outputs": [], |
| 503 | + "source": [ |
| 504 | + "import gnss_lib_py as glp" |
| 505 | + ] |
| 506 | + }, |
| 507 | + { |
| 508 | + "cell_type": "code", |
| 509 | + "execution_count": null, |
| 510 | + "id": "b369035d", |
| 511 | + "metadata": {}, |
| 512 | + "outputs": [], |
| 513 | + "source": [ |
| 514 | + "# download cropped SmartLoc data file\n", |
| 515 | + "!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/main/data/unit_test/tu_chemnitz_berlin_1_raw.csv --quiet -O \"smart_loc.csv\"\n", |
| 516 | + " \n", |
| 517 | + "# load smartLoc data into NavData object\n", |
| 518 | + "smart_loc_data = glp.SmartLocRaw(\"smart_loc.csv\")" |
| 519 | + ] |
| 520 | + }, |
| 521 | + { |
| 522 | + "cell_type": "code", |
| 523 | + "execution_count": null, |
| 524 | + "id": "4dd67679", |
| 525 | + "metadata": {}, |
| 526 | + "outputs": [], |
| 527 | + "source": [ |
| 528 | + "# plot the pseudorange over time of each individual satellite\n", |
| 529 | + "# SBAS 120 is the outlier with its larger orbit\n", |
| 530 | + "fig = glp.plot_metric(smart_loc_data, \"gps_millis\",\"raw_pr_m\", groupby=\"sv_id\")" |
| 531 | + ] |
| 532 | + }, |
| 533 | + { |
| 534 | + "cell_type": "code", |
| 535 | + "execution_count": null, |
| 536 | + "id": "fe8d92d7", |
| 537 | + "metadata": { |
| 538 | + "scrolled": true |
| 539 | + }, |
| 540 | + "outputs": [], |
| 541 | + "source": [ |
| 542 | + "# show the ground truth smartLoc data on a map\n", |
| 543 | + "fig = glp.plot_map(smart_loc_data)\n", |
| 544 | + "fig.show()" |
| 545 | + ] |
| 546 | + }, |
488 | 547 | { |
489 | 548 | "cell_type": "markdown", |
490 | 549 | "id": "eb016e74", |
|
0 commit comments