Skip to main content

Band Excitation and General Mode analysis and visualization codes

Project description

GitHub Actions PyPI License Downloads DOI

Band Excitation (BE) and General Mode (G-Mode) Scanning Probe Microscopy (SPM) data format translation, analysis and visualization codes.

MCP Server

BGlib now includes a small MCP server for exposing a focused set of BE tools over stdio.

Install with the optional MCP dependency:

pip install -e .[mcp]

Start the server:

bglib-mcp

Exposed tools:

  • LabViewPatcher(h5_path, force_patch=False)

  • projectLoop(vdc, amp_vec, phase_vec)

  • calc_switching_coef_vec(loop_coef_vec, nuc_threshold)

  • calculate_loop_centroid(vdc, loop_vals)

  • get_rotation_matrix(theta)

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

bglib-0.0.6.tar.gz (196.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bglib-0.0.6-py3-none-any.whl (231.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bglib-0.0.6.tar.gz
  • Upload date:
  • Size: 196.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for bglib-0.0.6.tar.gz
Algorithm Hash digest
SHA256 cb4f02baf5921d0977c2d652d05e3a42a68dc0ae9e4717b026a7995bef0ad584
MD5 04f1ee44fd9ebe025c65973842af461f
BLAKE2b-256 d994395aa6dee5d5ec082bff4286ac1451d4a09607f8929d1a534df7a1e9179d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bglib-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 231.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for bglib-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f828e6bbe5af526168bda5a933454b2a5c84442f8b4ca3cbd9fbb4c479c4f267
MD5 6dbf0c7da4ff64e7511c510268a21a7c
BLAKE2b-256 88e5717d5bbaeb8e28fa3608365a5f0846e21bf9fe043ca66ea6a6ca140c0ff7

See more details on using hashes here.

Supported by

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