{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "# Quick Start" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "This brief tutorial goes through the most minimal code you could write to do an orbit fit with `orbitize!`. It uses an input .csv that was placed on your computer when you installed `orbitize!`. The file lives here:" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/sblunt/Projects/orbitize/orbitize/example_data/GJ504.csv\n" ] } ], "source": [ "import orbitize\n", "\n", "path_to_file = \"{}GJ504.csv\".format(orbitize.DATADIR)\n", "\n", "print(path_to_file)" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "The input .csv file looks like this:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "Table length=7\n", "
| epoch | object | quant1 | quant1_err | quant2 | quant2_err | quant12_corr | quant_type | instrument |
|---|---|---|---|---|---|---|---|---|
| float64 | int64 | float64 | float64 | float64 | float64 | float64 | bytes5 | bytes5 |
| 55645.95 | 1 | 2479.0 | 16.0 | 327.94 | 0.39 | nan | seppa | defsp |
| 55702.89 | 1 | 2483.0 | 8.0 | 327.45 | 0.19 | nan | seppa | defsp |
| 55785.015 | 1 | 2481.0 | 33.0 | 326.84 | 0.94 | nan | seppa | defsp |
| 55787.935 | 1 | 2448.0 | 24.0 | 325.82 | 0.66 | nan | seppa | defsp |
| 55985.19400184 | 1 | 2483.0 | 15.0 | 326.46 | 0.36 | nan | seppa | defsp |
| 56029.11400323 | 1 | 2487.0 | 8.0 | 326.54 | 0.18 | nan | seppa | defsp |
| 56072.30200459 | 1 | 2499.0 | 26.0 | 326.14 | 0.61 | nan | seppa | defsp |