F_FINDFS module

t1t2ne.scripts.f_findfs.find_topspin() dict[source]

Detect whether Bruker TopSpin is installed on the current workstation and if it is a spectrometer installation. Works cross-platform: Windows, Linux, macOS.

Returns a dict with:
  • found (bool): whether TopSpin was detected

  • version (str|None): version string if detectable

  • install_path (Path|None): path to the TopSpin installation

  • spectrometer (bool): whether this installation appears to be on a spectrometer workstation (based on presence of conf/instr/spect)

t1t2ne.scripts.f_findfs.version_dict(found=False, version=None, install_path=None, spectrometer=False) dict[source]

Helper function to create a version dict with the given values, using defaults for any missing values.