1. Pawel Kwasniewski
  2. McSAS



Filename Size Date modified Message
69 B
ignore other analysis results as well
834 B
default python module names in pylint config
3.6 KB
README.md edited online with Bitbucket
358 B
removed obsolete import
9.8 KB
helper scripts importable for sphinx autodoc
19.8 KB
renaming frozen DMG package properly
340.2 KB
plotting uses DejaVuSansMono for the info text
367.3 KB
missing dejavu font
4.1 KB
entry script adjusts LD_LIBRARY_PATH early
4.6 KB
disabled outdated test
153 B
Preparing for support of 2D smearing
1.0 KB
added separate script for running pylint
611 B
added separate script for running pylint


Welcome to McSAS: a tool for analysis of SAS patterns. This tool can extract form-free size distributions from small-angle scattering data using the Monte-Carlo method described in:

Brian R. Pauw, Jan Skov Pedersen, Samuel Tardif, Masaki Takata, and Bo B. Iversen. “Improvements and Considerations for Size Distribution Retrieval from Small-angle Scattering Data by Monte Carlo Methods.” Journal of Applied Crystallography 46, no. 2 (February 14, 2013 ). DOI:10.1107/S0021889813001295.

The GUI and latest improvements are described in: I. Breßler, B. R. Pauw, A. F. Thünemann, "McSAS: A package for extracting quantitative form-free distributions". Journal of Applied Crystallography 48: 962-969, DOI: 10.1107/S1600576715007347


Several form factors have been included in the package, including:

  • Spheres

  • Cylinders (spherically isotropic)

  • Ellipsoids (spherically isotropic)

  • Core-shell spheres and ellipsoids

  • Gaussian chain

  • Kholodenko worm

  • Densely packed spheres (LMA-PY structure factor).

Current status

The package is currently in v1.0 stable state, no major issues remain with this version and it should run on a Python 2.7 installation (also works on Enthough Canopy Python). Standalone packages are available for Windows, Linux and Mac OS X, make sure to get the latest release. The most up-to-date branch is the "restructuring"-branch, and runs on Windows, Linux and Mac OS X. A quick start guide and example data is included in the "doc"-directory that comes with the distribution.


To run McSAS from the source code repository (i.e. using a Python interpreter), the following items are required:

Installation on systems with a working Python distribution

For those unfamiliar with the Git versioning system, it is recommended to start by installing Altassian SourceTree (and perhaps reading Bitbucket 101 ). This is a GUI around the Git versioning system that simplifies the usage and allows you to get started quickly.

Using the "clone" button on the top left side of this page, you can download a copy of the latest version. Make sure when downloading to select the "restructuring"-branch. Following this, McSAS can be started on Unix(-like) systems by opening a terminal window, changing directory to the location of McSAS, and typing

$ ./main.py

On Windows systems, double-clicking the "main.py" file should open python and start McSAS.

Standalone packages

Standalone packages are available in the downloads section of this page. These are available for Mac OS X (tested on 10.6, 10.8 and 10.10), Windows and Linux. These do not require any additional software to be installed on the host computer.


McSAS20150111.png McSAS20150111Result.png