It's been possible for the last... little bit... to connect to tiled.nsls2.bnl.gov and remotely beam data down. Performance? not super well measured. Access controls? Finicky on the best of days. But liberation from externally managed software environments? Priceless.
The prototype for how to do this by hand is as follows:
from tiled.client import from_uri
catalog = from_uri('https://tiled.nsls2.bnl.gov') # prompts for login
catalog = catalog['rsoxs']['raw']
load = PyHyperScattering.load.SST1RSoXSDB(catalog=catalog)
SST1RSoXSDB should just check if a profile called rsoxs exists on the machine and get a network catalog if it doesn't.
It's been possible for the last... little bit... to connect to tiled.nsls2.bnl.gov and remotely beam data down. Performance? not super well measured. Access controls? Finicky on the best of days. But liberation from externally managed software environments? Priceless.
The prototype for how to do this by hand is as follows:
SST1RSoXSDB
should just check if a profile calledrsoxs
exists on the machine and get a network catalog if it doesn't.