USNAN Python SDK/Examples: Revision history

From Network for Advanced NMR
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

7 October 2025

  • curprev 17:4217:42, 7 October 2025 Mmaciejewski talk contribs 1,135 bytes +19 No edit summary
  • curprev 17:3117:31, 7 October 2025 Mmaciejewski talk contribs 1,116 bytes +1,116 Created page with "= '''Examples''' = == '''Example 1: Facility Summary''' == <syntaxhighlight lang="python"> import usnan client = usnan.USNANClient() for fac in client.facilities.list(): print(f"Facility: {fac.long_name}") for spec in fac.spectrometers: print(f" - {spec.name} ({spec.field_strength_mhz} MHz)") </syntaxhighlight> == '''Example 2: Search for 2D KnowledgeBase Datasets''' == <syntaxhighlight lang="python"> search = ( usnan.models.SearchConfig(records=2..."