-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
5,495 additions
and
6,851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pysmurf/_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,25 @@ | ||
*.pyc | ||
*.py~ | ||
*.dat | ||
*.png | ||
*.png | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: all | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: requirements.txt | ||
- method: pip | ||
path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Copyright (c) 2019, The Board of Trustees of the Leland Stanford Junior | ||
University, through SLAC National Accelerator Laboratory (subject to receipt | ||
of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
(1) Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
(2) Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
(3) Neither the name of the Leland Stanford Junior University, SLAC National | ||
Accelerator Laboratory, U.S. Dept. of Energy nor the names of its | ||
contributors may be used to endorse or promote products derived from this | ||
software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER, THE UNITED STATES GOVERNMENT, | ||
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | ||
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY | ||
OF SUCH DAMAGE. | ||
|
||
You are under no obligation whatsoever to provide any bug fixes, patches, or | ||
upgrades to the features, functionality or performance of the source code | ||
("Enhancements") to anyone; however, if you choose to make your Enhancements | ||
available either publicly, or directly to SLAC National Accelerator Laboratory, | ||
without imposing a separate written license agreement for such Enhancements, | ||
then you hereby grant the following license: a non-exclusive, royalty-free | ||
perpetual license to install, use, modify, prepare derivative works, incorporate | ||
into other computer software, distribute, and sublicense such Enhancements or | ||
derivative works thereof, in binary and source code form. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include versioneer.py | ||
include pysmurf/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# pysmurf | ||
The python control software for SMuRF. Includes scripts to do low level commands as well as higher level analysis. | ||
|
||
[![Documentation Status](https://readthedocs.org/projects/pysmurf/badge/?version=latest)](https://pysmurf.readthedocs.io/en/latest/?badge=latest) | ||
|
||
The python control software for SMuRF. Includes scripts to do low level | ||
commands as well as higher level analysis. | ||
|
||
## Installation | ||
To install pysmurf clone this repository and install using pip: | ||
|
||
``` | ||
git clone https://github.com/slaclab/pysmurf.git | ||
cd pysmurf/ | ||
pip3 install -r requirements.txt | ||
pip3 install . | ||
``` | ||
|
||
## Documentation | ||
Documentation is built using Sphinx, and follows the | ||
[Google Style Docstrings][1]. To build the documentation first install the | ||
pysmurf package, then run: | ||
|
||
``` | ||
cd docs/ | ||
make html | ||
``` | ||
|
||
Output will be located in `_build/html`. You can view the compiled | ||
documentation by opening `_build/html/index.html` in the browser of your | ||
choice. | ||
|
||
[1]: https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Stanford pysmurf cfg file index | ||
|
||
<table> | ||
<tr> | ||
<td><b>cfg file</b></td> | ||
<td><b>Description</b></td> | ||
</tr> | ||
|
||
<!-- Begin Frankenpolar Run 29 pysmurf config files --> | ||
<tr> | ||
<td colspan="2"><b>Frankenpolar Run 29 pysmurf configuration files</b></td> | ||
</tr> | ||
|
||
<tr> | ||
<td><a href="experiment_fp29_cc02-02_lbOnlyBay0.cfg">experiment_fp29_cc02-02_lbOnlyBay0.cfg</a></td> | ||
<td> | ||
For use with cryostat card C02-02. Configures only 4x 500MHz | ||
bands. To be used with single bay fw versions. Assumes only 1x | ||
LB AMC is installed in bay 0. Configures for backplane timing | ||
(timing master must be installed in slot 2 of the same crate). | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td><a href="experiment_fp29_cc02-02_hbOnlyBay0.cfg">experiment_fp29_cc02-02_hbOnlyBay0.cfg</a></td> | ||
<td> | ||
For use with cryostat card C02-02. Configures only 4x 500MHz | ||
bands. To be used with single bay fw versions. Assumes only 1x | ||
HB AMC is installed in bay 0. Configures for backplane timing | ||
(timing master must be installed in slot 2 of the same crate). | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td><a href="experiment_fp29_cc02-02_fullBand.cfg">experiment_fp29_cc02-02_fullBand.cfg</a></td> | ||
<td> | ||
For use with cryostat card C02-02. Configures all eight 500MHz | ||
bands. Configures for external (front-panel) 122.88 MHz | ||
reference. | ||
</td> | ||
</tr> | ||
<!-- End Frankenpolar Run 29 pysmurf config files --> | ||
|
||
<!-- Begin Frankenpolar Run 30 pysmurf config files --> | ||
<tr> | ||
<td colspan="2"><b>Frankenpolar Run 30 pysmurf configuration files</b></td> | ||
</tr> | ||
|
||
<tr> | ||
<td><a href="experiment_fp30_srv03_rfsoc.cfg">experiment_fp30_srv03_rfsoc.cfg</a></td> | ||
<td> | ||
Test cfg used to take noise data with the RFSoC on cold | ||
resonators. | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td><a href="experiment_fp30_cc02-03_lbOnlyBay0.cfg">experiment_fp30_cc02-03_lbOnlyBay0.cfg</a></td> | ||
<td> | ||
For use with cryostat card C02-03. Configures only 4x 500MHz | ||
bands. To be used with single bay fw versions. Assumes only 1x | ||
LB AMC is installed in bay 0. Configures for backplane timing | ||
(timing master must be installed in slot 2 of the same crate). | ||
</td> | ||
</tr> | ||
<!-- End Frankenpolar Run 30 pysmurf config files --> | ||
|
||
</table> | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.