Skip to main content

A python program for analyzing SQUID DC raw data

Project description

MPMSAnalyzer

Table of Contents

  1. Overview
  2. Installation
  3. Quickstart
  4. Known Bugs

Overview

MPMSAnalyzer is a program to increase information gain from Magnetic Property Measurement System (SQUID) DC-Measurements (program written for MPMS 3 by Quantum Design).

MPMSAnalyzer key features:

  • Subtract background data to remove magnetic influence of specimen holders ect.
  • Afterwards adjust the dipol fitting curve to support very small specimens
  • Exclude single points to avoid integrating bolter points
  • Interpolate (background) measurements to save time for background subtraction
  • Export to standard formats (csv)

Screenshot of MPMSAnalyzer Screenshot of MPMSAnalyzer: Original data with background subtracted and fit area cutted so borders do not influence the dipol fit. Every single fit can be inspected. (Used data is available in the example_data directory.)

Installation

Open the command line (Windows: Type cmd in the search) and run

pip install MPMSAnalyzer

Now you can start the MPMSAnalyzer by typing

python -m MPMSAnalyzer

Shortcut (Windows only)

If you prefer having a clickable program icon, create a shortcut like the following:

  1. Create a new junction:
  2. Enter python -m MPMSAnalyzer into the input field:
  3. If you like, you can change the icon of the shortcut. To do so
    1. Download the MPMSAnalyzer.ico image from the doc directory.
    2. Now select the shortcut on your machine, then
    3. right click on it and open the Properties.
    4. In the Junction tab click on the Change icon button, then
    5. select the MPMSAnalyzer.ico image.

Manual installation

For manual installation download all the files, extract them and execute the Controller.py file in the MPMSAnalyzer directory to run MPMSAnalyzer.

Quickstart

Measurement

  • Create new files for each $M(T)$/$M(H)$ measurement. Keep the files as short as possible. The MPMSAnalyzer supports files only if they have a $M(T)$ or a $M(H)$ measurement.
  • Use the material in the sample material field in the MPMS program. If you have more probes than one use the exact definition of the probe in the sample comment field. Otherwise there will be no chance to identify your probe.

    You can use $\LaTeX{}$ code surrounded by \$'s in the title, comment, and other fields.

  • If possible: Use the exact same sequence for measuring the background.

General program use

  • Save the edited data right after editing. There may be crashes so do not hope for the best.
  • All datapoints are divided in the Up- and the Down-Sweep. This means that all plotted data and all files will have twice the amount of datapoints than in the MPMS program.

Toolbar

  • Open/Plot/Format: Open and plot a MPMS file. Select the *.rw.dat file. The *.dat file has be in the same directory and the same name to be registered automatically. If the file is not found you can select the *.dat file manually.

    Try to use both files always. The Open, the Plot and the Format commands are more less the same.

  • Edit: Define the fit frame. Set the range of the raw position for the voltages to fit.
  • Interpolate: Interpolate the background for a given measurement. The background of the probe has to be measured seperately. The background has to contain as much values as possible. You can increase the temperature/field steps, the last and first point should be the same like in the probe. Also try to cover all measurement ranges. This means for a $M(T)$ measurement with multiple fields record the background for all field values.
  • Subtract: Subtract the background from the probe measurement. Make sure that the background file has the same length (so the same number of datapoints) like the probe measurement. If it does not have the same size use the Interpolate button.

    Try to subtract files as short as possible. The more lines in the file the longer it takes. Also the MPMS adds empty lines which may cause errors. If the files are shorter there are less empty lines.

  • Export: Export the data to a file. This supports *.csv files and the MPMS *.rw.dat and the *.dat files. *.csv files are recommended.

Inspect and corect data

  • Use double click on a datapoint of a measurement to open the fits. There you can see the recorded data and the fit. The subtracted background data will also be displayed there if you used some.
  • Use the ... button for getting more information about each datapoint.
  • Change the fit constants in the constants.py if the fit was not successfully.
  • Remember to use the Edit Tool for specifying the fit frame.

    If background has been subtracted, there is the probe (index) and the probe (position). They should be always congruent.

Exporting

  • Use the *.csv format for exporting if possible.
  • Images of the plots can be created by left click and Save in the graph or in the graph window toolbar.

Known Bugs

  • The Plot tool opens even if the file has been opened with another tool.

    Solution: Simply close the plot tool.

  • If the files are very large or the wrong running variable has been choosen, the Format tool crashes.

    Solution: Decrease the filesize or use the correct running variable.

  • Sometimes the background will be used as the probe right after opening the background file.

    Solution: Check if the probe and the background files are the correct files. If not select them again.

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

MPMSAnalyzer-0.1.12.tar.gz (246.0 kB view details)

Uploaded Source

Built Distribution

MPMSAnalyzer-0.1.12-py3-none-any.whl (273.4 kB view details)

Uploaded Python 3

File details

Details for the file MPMSAnalyzer-0.1.12.tar.gz.

File metadata

  • Download URL: MPMSAnalyzer-0.1.12.tar.gz
  • Upload date:
  • Size: 246.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for MPMSAnalyzer-0.1.12.tar.gz
Algorithm Hash digest
SHA256 7ea71b0e2f69066450301ccb67205f8fcc20c41f64b357491770d0da86461d03
MD5 9c5b0a0e6508be448afdbb2eae1e383f
BLAKE2b-256 c82e6493cfe315f4867d0edfb822bd5f24c93f1a2801f8712385fd792e2b2742

See more details on using hashes here.

File details

Details for the file MPMSAnalyzer-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: MPMSAnalyzer-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 273.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for MPMSAnalyzer-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f491fe82e1e38951e33ee7f13559d05f772a23dc110bc065b413d401c02de8ea
MD5 cd4b29a931f9d69b9ff4587a4f522308
BLAKE2b-256 891aba78c3eb1dc6c711ca84545b53c78d90a5826fb510fe0bb1aff864a59a10

See more details on using hashes here.

Supported by

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