5
slic setup
vonka_j edited this page 2025-03-28 16:58:29 +01:00

How to start a collaborative slic notebook

Make sure you use the console as yourself, because gac-cristall does not have enough permissions, so su -l username .

So far the best place found to save slic data is in sf/cristallina/data/pgroup/res , so go there.

Slic should be started in the slic environment, so conda activate slic

Then start a collaborative jupyter notebook with start_local_jupyter in the `sf/cristallina/data/pgroup/res' folder

How to reload a pgroup without restarting slic

The pgroup is a required parameter for the initialization of the data acquisition module. To change it create a new daq, e.g.

pgroup = "p10000"

daq = SFAcquisition(
    instrument,
    pgroup,
    default_channels=bs_channels,
    default_pvs=pvs,
    default_detectors=detectors,
    rate_multiplicator=1,
)

To propagate these new pgroup to the gui:

scan = Scanner(default_acquisitions=[daq], ...)
gui = GUI(scan, ...)