A collection of instrument control and analysis tools for the Spintronics group at Durham University.
Project description
Durham Spintronics Group
A collection of instrument control and analysis tools for the Spintronics group at Durham University.
Installation
Currently, this package is only installable using pip
. You can still install this pacakge within the anaconda environment, however, you must use pip install
, not conda install
.
pip install durhamspintronics
Once installed, there are several differnt sub-modules.
Instruments
durhamspintronics.instruments
A variety of class objects, each of which provides a user friendly wrapper for various instruments. The instruments are sorted by manufacturer. Currently included devices:
kepco.BOP
Kepco BOP power supply (commonly the magnet power supply).newport.ESP300
Newport motion controller, model ESP300.ni.NI_pci6713
National Instruments analogue output device.ni.NI_pci6034E
National Instruments analogue input device.rohdeandschwarz.ZNLE18_VNA
Rohde & Schwarz 18 GHz Vector Network Analyser.
Experiments
durhamspintronics.experiments
Class objects for the various experiements, such as the sotmoke. These classes combine the aforementioned instrument classes to create one object to control your experiment.
fmr_vna
Example script for running a frequency sweep measurement on the FMR setup in Ph50.sotmoke
Various experiment classes for running hysteresis loops which are field driven, current driven, or a combination of both.
Data Loaders
durhamspintronics.dataloader
Class objects for loading the result files from various experiments.
xray.Load_brml
For use with Bruker D8 .brml files.deposition.Load_MantisLog
For use with Mantis Deposition sputtering log files.
Anaylsis
durhamspintronics.analysis
Anaylsis methods, sorted by measurement type.
microscope.add_scale_bar()
Adds a calibrated scale bar to the images taken using the microscope in Ph58.microscope.reduce_saturation()
Reduces the image saturation for easier viewing on some projectors/screens.moke.langevin_singlesweep()
Modified langevin function for modelling half-hysteresis loops.moke.langevin_dualshape_singlesweep()
Extendslangevin_singlesweep()
to include two shape parameters for half-hysteresis loops which are antisymmetric immediately above/below the coercive field.moke.langevin_dualshape()
Convertslangevin_dualshape_singlesweep()
into complete hysteresis loops.moke.fit_langevin_dualshape()
Performs a basiclmfit
for a given hysteresis loop.
General
durhamspintronics.general
An unsorted, yet useful, set of functions.
get_symbols()
Prints a list of common symbols along which the respective chr() values.format_uncertainty(value, error)
Returns a nicely formatted string in the form of "value ± error".GenerateSampleDiagram
A tool for quickly generating sample diagrams for presentations and reports.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file durhamspintronics-0.0.2.tar.gz
.
File metadata
- Download URL: durhamspintronics-0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f62477cadff2477d212a791ead1376b5860742fc90951fac05079aa055ce63 |
|
MD5 | 3d1298b40dc8404bde02e436ac854460 |
|
BLAKE2b-256 | b605777a382e92b3749d4bb5e42fe702c72a9703a48c4969ce4250fe3e666929 |
File details
Details for the file durhamspintronics-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: durhamspintronics-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afa63077bb49967e7ed1b3d0c0bf693dee6fb3706d59c163a2e3b1d394925a7 |
|
MD5 | 1bd4ee156387bbf2f48fba343f9f220d |
|
BLAKE2b-256 | 86fc1923e7c68c40eeae54875a69054610acadf687517bfd11c5e25550d7688d |