-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3jn4ul077qs.html
More file actions
1 lines (1 loc) · 2.11 KB
/
3jn4ul077qs.html
File metadata and controls
1 lines (1 loc) · 2.11 KB
1
<div>The Authorea server will work for all of the examples except the (aptly named) Python packages <a href="https://pint.readthedocs.io/en/stable/" target="_blank">Pint</a> and <a href="https://pythonhosted.org/uncertainties/" target="_blank">Uncertainties</a> used for numerical calculations using units and/or uncertainties, as those packages are not currently installed on that server (but maybe someday?). That said, you will want to write, run, and store your own data and programs on your own system. If you don't have access to a local Jupyter webserver with the packages you need, you will want to install and run Python and Jupyter on your own computer. The good news is that everything needed is available for free (except the computer)! See Section <span class="au-ref raw v1">\ref{662059}</span>: <u>Installing Python</u> for instructions on how to do this. </div><div> </div><h1 data-label="225119" class="ltx_title_section">Importing and exporting data</h1><div></div><div>There are many ways to import, export, and represent data in files. Here we provide just enough to get you started but it might very well be all you need. In these examples, we assume you have first entered the data into a spreadsheet program, then exported that data in 'CSV' (comma separated variable) file format. We use the CSV file format here because it is ubiquitous: all spreadsheets have the ability to export and import data in the CSV file format. Data in other common plain text file formats (such as tab delimited) can also be imported by making a few small modifications to the examples provided below. </div><div></div><div></div><h2 data-label="313963" class="ltx_title_subsection">CSV spreadsheet file format</h2><div></div><div>Let's look at a particular CSV data file titled <code>Calibration_650nm.csv</code> . The file consists of a single header row of text which we need to skip over when loading the numerical data, followed by three columns of data, one for each measured variable. </div><div></div><div>Here's what the data looks like in spreadsheet form (grid lines not shown):</div><div></div>