Magnetic field components
Properties to be analyzed
MagScope is Magcam’s advanced data analysis software for measuring and analyzing magnetic field distributions. MagScope is designed to extract as much information as possible from the measurement data. Various plugins are available for enhanced performance.
Use the filters on the left to narrow the MagScope features down to your application. You can then send us this configuration using the 'Send configuration' button, so we can contact you back with customized information.
The latest version of Magscope is v4.5.14. Contact us at firstname.lastname@example.org to receive this version.
Saving settings and networks
When a network setup is configured for a specific measurement and /or analysis flow, it can be saved to a specific file, which can be loaded later again.
When a network setup is configured for a specific measurement and /or analysis flow, it can be saved to a file, which can be loaded later again.
To save a network to a file, select Save as… in the network’s context menu:
By default, MagScope will propose to save the file in the ‘C:/ProgramData/Magcam/MagScope/Presets/Custom’ directory. The ‘Presets’ directory is special, since files that are saved in this folder are directly available from the MagScope menu.
Saving measurement data
MagScope provides the option to save measurement data manually (one measurement) or automatically (measurements on multiple magnets).
MagScope provides the option to save measurement data manually (one or a few measurements) or automatically (measurements on multiple magnets).
To save the measurement data to a data file, right-click one of the elements in the network, e.g. the Camera element and select Save…:
A dialog is shown that asks the user to which type of file (.mcb or .csv) the data should be saved. Select the desired format.
Extracting a 1D cross-section
To gain more insight in the magnetic field of the permanent magnet, it is possible to extract a cross-section from the data in MagScope by using the lines feature in the 2D Plot element.
To gain more insight in the magnetic field of the permanent magnet, it is possible to extract a cross-section from the data in MagScope by using the lines feature in the 2D Plot element. Six different lines are available, given the user every option to learn more about the magnetic field details:
- Diagonal line
- Horizonal line
- Vertical line
A circular cross-section is used to explain this feature.
In the toolbar on top, click on the Circle.
Opening a data file
MagScope supports two types of data files, CSV files and MCB files (the native MagScope format). To open a previously recorded/saved file, one can select File/Open MCB or File/Open CSV, depending on what type of file you want to open.
Two types of data files are supported by MagScope:
- MCB files: the native MagScope format. These are binary files containing magnetic field images. These files can be opened only by MagScope. Their file size is smaller than that of a corresponding CSV file.
- CSV files: ‘Comma Separated Values’ files containing magnetic field distribution data. These files can be opened with other programs, such as Matlab, Excel, Notepad etc.
Note: MagScope is backward compatible with the older ‘.magcam’ file format, as used by earlier versions of MagScope (v.3.x). They can be opened the same way as CSV files.
Creating plots and graphs
MagScope has the ability to show the magnetic field in different plot and graph formats, such as 2D, surface and quiver plots.
MagScope has the ability to show the magnetic field in different plot and graph formats, such as 2D, 1D, surface and quiver plots.
The 2DPlot element visualizes the data in a two dimensional color graph. When creating a 2DPlot element the ‘2DPlot’ window is shown. The 2DPlot allows you to draw following plot elements such as lines and circles. Measurements can be made between plot elements of the same type.
From the plot window, cross-sections and 2D areas can be selected and further analyzed in a new network.
MagScope is built around ‘data’ and ‘networks’. Data is a matrix of measurement points, such as the magnetic field distributions that come from the magnetic field camera. The data is processed inside one or more ‘networks’, where it can be displayed, analyzed, transformed etc.
A network is a chain of ‘Elements’ through which the data flows. There are many types of elements and they can be combined in many ways, making the software very modular and flexible. Each element does something with the data (e.g. a ‘Plot’ element visualizes it) and then the data continues through the network to the next element.
Pass/fail quality control
Using the quantitative results of a MagFit analysis, an additional pass/fail analysis can be easily and directly performed. For this the Python scripting module for MagScope is used.
Using the quantitative results of a MagFit analysis, an additional pass/fail analysis can be easily and directly performed.
In the Python script, the results of a MagFit element in MagScope are accessed using the ‘Results()’ function of the ‘IElement’ class. In the return variable of this function, the results can be obtained and displayed.
Magcam engineers can assist our customers with writing Python scripts when desired.
Python scripting introduction
Magscope supports the use of Python scripts to add unlimited flexibility and functionality.
The Python scripting module for MagScope allows using the analysis results and other data of MagScope in an unlimited number of ways, chosen by the user, who can have his own Python scripts run automatically in MagScope.
The MagScope measurement and analysis software supports the use of Python scripts to add flexibility and functionality. MagScope comes standard with Python script templates which can serve as a basis for writing your own script to define a custom functionality. Alternatively, Magcam offers services for writing custom scripts.
Typical applications include: