Skip to main content

A Nion Swift package to simulate a STEM microscope, scanner, and cameras.

Project description

Nion Swift STEM Microscope Simulator

The Nion Swift STEM Microscope Simulator Library (used in Nion Swift)

A STEM microscope simulator for use with Nion Swift. Used for debugging Nion Swift acquisition and developing acquisition tools, techniques, and apps.

tests

Travis CI build status (Linux)

package

Latest PyPI version

More Information

Changelog (nionswift-usim)

0.3.0 (2020-08-31)

  • Add support for partial synchronized acquisition.

  • Fix handling of probe position in sub-scans.

  • Add aperture that can be moved and “distorted” (i.e. dipole and quadrupole effect simulation).

  • Add functions to ‘Instrument’ that facilitate adding new inputs to existing controls.

  • Allow input weights for controls to be controls in addition to float.

  • Add option to attach a python expression as control input (only one expression per control can be set, but it can be arbitrarily complex, as long as it can be evaluated by ‘eval’).

  • Changed meaning of convergence angle to reflect its real meaning (in the simulator it only controls the size of the aperture on the Ronchigram camera, the effect on the scan is not simulated yet).

  • Add ‘Variable’ class to InstrumentDevice. ‘Variables’ differ from ‘Controls’ in that they do not have a local value.

0.2.1 (2019-11-27)

  • Minor changes to be compatible with nionswift-instrumentation.

  • Improve ‘inform’ functionality on Ronchigram controls.

0.2.0 (2019-06-27)

  • Fix some simulated aberration calculations.

  • Add option for flake sample (same as previous version) or amorphous sample.

  • Allow adding new controls to existing instrument instance.

  • Add support for 2D controls and AxisManager.

0.1.7 (2019-04-29)

  • Ensure noise gets added as float32 to ensure good display performance.

0.1.6 (2019-02-27)

  • Fix scaling of spectra to be consistent with beam current, sample thickness, and energy offset.

  • Improve performance for cameras.

  • Add support for ZLP tare control / inform.

  • Add controls used in 4D acquisition.

  • Change Ronchigram units to radians.

  • Improve/fix reliability with camera running faster than scan.

Contributors: @Brow71189 @cmeyer

0.1.5 (2018-10-04)

  • Fix issue with scan content position (introduced with rotated scans).

0.1.4 (2018-10-03)

  • Fix minor issue with EELS data.

0.1.3 (2018-10-03)

  • Update support for API.

  • Add support for rotated scans.

0.1.2 (2018-06-25)

  • Specify lower priorities for all simulator devices.

  • Add persistence of camera settings.

  • Restructure as a camera module to be parallel with physical camera modules.

  • Switch to using calibration controls instead of intrinsic calibrations.

0.1.1 (2018-05-13)

  • Initial version online.

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

nionswift-usim-0.3.0.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

nionswift_usim-0.3.0-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file nionswift-usim-0.3.0.tar.gz.

File metadata

  • Download URL: nionswift-usim-0.3.0.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for nionswift-usim-0.3.0.tar.gz
Algorithm Hash digest
SHA256 76aa1e7145734a3d852844224bc733c3d9985a30ac2498d376ee19d1a8ba145b
MD5 d22ea726f5a327b0951adeebedbb4bca
BLAKE2b-256 76308e64aa6ac1d26724ca177279d316fb26c55b5b2a94928455ecc05d3d79ee

See more details on using hashes here.

File details

Details for the file nionswift_usim-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: nionswift_usim-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for nionswift_usim-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea8ec10e5002ef863bc618c4148c00517cc90d59576ba290321e268aab2893c
MD5 34974356a366412f1297266e3171f678
BLAKE2b-256 56b4e59a5253bcce54bd0e2758c93597e8c5765ad83d83923ce3114d8fef99ae

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