Skip to content

pycroscopy/BGlib

Repository files navigation

BGlib

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)

About

Band Excitation and General Mode microscopy analytics software

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors