APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

configure the HDF5 plugin for the PG3 detector #20

Closed prjemian closed 6 years ago

prjemian commented 6 years ago

@tacaswell - fyi

a couple problems here

    hdf1 = ADComponent( # FIXME:
        MyHDF5Plugin, 
        suffix="HDF1:",
        # TypeError: __init__() got an unexpected keyword argument 'root'
        #root='/',                               # for databroker
        # TypeError: __init__() got an unexpected keyword argument 'write_path_template'
        #write_path_template=HDF5_FILE_PATH,     # for EPICS AD
        )
prjemian commented 6 years ago

source code here

prjemian commented 6 years ago

This is working. Because of the way devices are staged in BlueSky, our data collection strategy will change slightly. Presently, we call an internal method _internal_tomo() from tomo_scan(). We'll add internal dark & flat collection methods, staging parameters as appropriate and then call them from tomo_scan(). Do that work as part of #27.