Skip to content

minifold/magnets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnet Lab Report

Written in Python 3.8 by Alex C.

The best way to install the jupyter notebook dependencies is to install conda and activate the provided environment using conda env create -f environment.yml

To utilize the environment and ensure the code runs on your computer, download miniconda from conda.io.

Data

The data was taken through Google Science Journal on iOS 14. Each test was run for 5 seconds 5 times, and then exported to a .csv file. The raw files are in the directory ./magnet-data/.

The gathered data was analyzed using matplotlib.pyplot, numpy, and scipy.stats.

Outputs

Check ./figs/ for .png files of the data from each of the results. The subdirectory ./out/ contains csv files of each dataset where the first row is the mean, the second row is the standard deviation, and the third row is the chisquared values.

Reproducing the Outputs

In a bash shell with conda installed run:

git clone https://github.com/doc-ock/magnets.git 
cd magnets
conda env create -f environment.yml
conda activate magnets

Once you are in an environment that has the required packages, open the jupyter notebook:

jupyter notebook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published