Spin lifetime analysis
Install the required Python packages with
$ pip install -r requirements.txt
requirements.txt file uses major version semver constraints.
To install strict package dependency versions, use
$ pip install -r requirements.txt.lock
Update the lock file to match your environment with
$ pip freeze -r requirements.txt > requirements.txt.lock
This is tested with Python 3.5.1 on 64-bit Linux using an isolated Python Virtual Environment.
Running on OS X or Windows may require more preparation then the single pip install command above.
Installing Python packages globally with
sudo pip is not recommended.
Always keep pip updated first with
$ pip install --update pip
If pip is unable to compile the C extensions required by numpy, etc., you generally have two options:
Install NumPy and other core SciPy packages via your package manager. Then, install the other requirements normally at the user-level with pip. If using virtual environments with this method, make sure the environment is created with
Install a Python distribution such as Anaconda that bundles these dependncies and provides tools for managing Python environments.
Execute the analysis with
Output will be saved in the
Python output will be redirected to
and errors to
Remove the build and logs with
$ make clean
Serve the build directory from a local http server on port
$ make serve
Viewing fits with Fitalyzer.
After generating fits with
make serve and load
Note: you must visit https://localhost:8000 in your browser and accept the SSL certificate for this to work.
This code is licensed under the MIT license
with the exception of any files under the path
All files under the path
were compiled from data presented in:
Tunneling Spin Injection into Single Layer Graphene. Wei Han, K. Pi, K. M. McCreary, Yan Li, Jared J. I. Wong, Adrian G. Swartz, and Roland K. Kawakami, Phys. Rev. Lett. 105, 167202 (2010)
This data was used with permission and is available for download: Joint Laboratory for Spintronics Research, Department of Physics and Astronomy, University of California, Riverside.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.