Python modules for importing data from LabRAD, fitting to data, and some other small things
- Add this folder to your python path. One way to do this is to edit
~/.bashrcand add the lineexport PYTHONPATH=$PYTHONPATH:/path/to/this/repo. - Configure your
labrad_data_toolsto work for your PC.- Create a copy of
labrad_data_tools_config.py.exampleand rename it tolabrad_data_tools_config.py. - Set the values of
SCAN_LISTS_DIRECTORYandDATA_DIRECTORYto the directories where scan lists and data are stored on your PC. - Set the dict
MULTID_SCAN_MAPto define the names of 2-dimensional scans that you use and their subscans, as instructed by the commented lines. This allows for functionality like getting a list of all of the subscan scantimes given a superscan scantime.
- Create a copy of
- Configure your
fitting_functionsby adding fitting functions that are useful to you but are specific to your experiment.- Create a copy of
fitting_functions_special.py.exampleand rename it tofitting_functions_special.py. - Define your own functions as instructed in the docstring at the beginning of the file.
- Create a copy of
For instructions on importing LabRAD data, see the LabRAD data tools tutorial for the module labrad_data_tools.py.
For instructions on fitting data, see the fitting tools tutorial for the module fitting_tools.py.
For examples of how to use these, see the example notebooks.