Skip to main content

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() Extends langevin_singlesweep() to include two shape parameters for half-hysteresis loops which are antisymmetric immediately above/below the coercive field.
  • moke.langevin_dualshape() Converts langevin_dualshape_singlesweep() into complete hysteresis loops.
  • moke.fit_langevin_dualshape() Performs a basic lmfit 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

durhamspintronics-0.0.6.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

durhamspintronics-0.0.6-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file durhamspintronics-0.0.6.tar.gz.

File metadata

  • Download URL: durhamspintronics-0.0.6.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for durhamspintronics-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5a355ce106338d28ba0567005a9f5e1bbe2361c17a7a4dc825055f1214c11c9c
MD5 74a3b03152cca1faf9b8ae6abf8e510b
BLAKE2b-256 0b05cefbfe1e36d7c536252a00fcd1569a8c22d05a02e140db1f284dfa8ae163

See more details on using hashes here.

File details

Details for the file durhamspintronics-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for durhamspintronics-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2b61498968eca1de11dc410bcbaaeb439462356a73e2a016c85c6a0fd7ce5a43
MD5 b7a387205e78a24346cf6f8b72f9308c
BLAKE2b-256 7f974fd3f1e928fb3aaf61a66911a54ee36c66545802d8eae0605ae547bfb3cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page