Peak Search
No matching peaks found.
Peak Search - API
Python script
#!/usr/bin/env python
import requests
""" prepare inputs: """
URL = "https://gissmo.bmrb.io/peak_search"
# Configure the parameters
resonances = [1.3, 2.02]
params = {'peak_type': 'standard', # Options are 'standard' or 'GSD' for deconvoluted/GSD picking
'threshold': .01, # matching threshold (ppm)
'frequency': 800, # MHz
'rs': " ".join([str(x) for x in resonances]), # Specify resonances as space separated text string
'json': True}
""" Perform the query: """
r = requests.get(URL, params=params)
""" parse outputs """
json_result = r.json()
for _ in json_result:
print(_)