Skip to content

Commit

Permalink
Merge pull request #942 from simonsobs/det_cal_refactor
Browse files Browse the repository at this point in the history
Detector Calibration Refactor
  • Loading branch information
jlashner authored Sep 23, 2024
2 parents e7b4ab7 + af22422 commit 0f0c0c0
Show file tree
Hide file tree
Showing 4 changed files with 870 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
'quaternionarray', 'yaml', 'toml', 'sqlite3','tqdm',
'skyfield', 'h5py', 'pyfftw', 'scipy',
'toast', 'pixell', 'scikit', 'skimage', 'numdifftools',
'traitlets', 'ephem', 'influxdb', 'megham', 'detmap'):
'traitlets', 'ephem', 'influxdb', 'megham', 'detmap',
'sodetlib'):
try:
foo = import_module(missing)
except ImportError:
Expand Down
26 changes: 26 additions & 0 deletions docs/site_pipeline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,32 @@ Command line arguments
:func: get_parser
:prog: update_smurf_caldbs.py

update-det-cal
-----------------------
.. automodule:: sotodlib.site_pipeline.update_det_cal
:no-members:

CalInfo object
```````````````````

.. autoclass:: sotodlib.site_pipeline.update_det_cal.CalInfo
:no-members:

Configuration
``````````````

Configuration of the update_det_cal script is done by supplying a yaml file.

.. argparse::
:module: sotodlib.site_pipeline.update_det_cal
:func: get_parser
:prog: update_smurf_caldbs.py

The possible configuration parameters are defined by the DetCalCfg class:

.. autoclass:: sotodlib.site_pipeline.update_det_cal.DetCalCfg
:members:

Detector and Readout ID Mapping
-------------------------------

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
setup_opts["extras_require"] = {
"site_pipeline": [
"influxdb",
"venn"
"venn",
"sodetlib @ git+https://github.com/simonsobs/sodetlib",
],
"tests": [
"socs",
Expand Down
Loading

0 comments on commit 0f0c0c0

Please sign in to comment.