Skip to main content

SuperConducting Resonator Analysis and Plotting Software.

Project description

Scraps is a package designed to help you analyze lots of data from superconducting resonators. The basic idea is that you hook up your VNA (or mixer) and measure S21 at several different temperatures and driving powers. Maybe you have a PID and some decent automation software that take several hundred traces, and now you don’t know what to do with all that data. Enter scraps. Scraps will organize it all and run fits on it, and make pretty pictures you can show your advisor or funding committee or spouse (when asked what you do all day upon returning home) or even put into a journal article.

Currently scraps is designed to handle resonator S21 data at varying temperatures and input powers. There are plans to extend scraps to handle varying magnetic field also, as well as noise in addition to S21. If you would like to be a part of that, get involved by posting a message here.

Who is using scraps?

Scraps is in use at Argonne National Laboratory, Caltech, University of Chicago, Oxford and probably many other places! Recently a group at Oxford used scraps to fit MKID resonator data for this publication: MKID digital readout tuning with deep learning

License

Scraps is licensed under the MIT license, so feel free to copy it, play with it, modify it, etc. under those terms (which are pretty loose!).

Documentation

Installation is as simple as:

pip install scraps

or if you want to get the may-not-be-stable developer version:

git clone http://github.com/FaustinCarter/scraps
pip install -e /dir/where/you/cloned/scraps
cd /dir/where/you/cloned/scraps
git checkout develop

For complete API documentation, more in depth installation instructions and some example tutorials, see the official documentation at: http://scraps.readthedocs.io

Citation

If you use scraps to make plots or analyze data for a publication, please cite the IEEE Applied Superconductivity Manuscript, DOI: 10.1109/TASC.2016.2625767:

@article{Carter2016,
   author={F. W. Carter and T. S. Khaire and V. Novosad and C. L. Chang},
   journal={IEEE Transactions on Applied Superconductivity},
   title={scraps: An Open-Source Python-Based Analysis Package for Analyzing and Plotting Superconducting Resonator Data},
   year={2017},
   volume={27},
   number={4},
   pages={1-5},
   doi={10.1109/TASC.2016.2625767},
   ISSN={1051-8223},
   month={June}
}

Short description of files that aren’t code:

  • Example1: a JuPyter notebook that will help you get started with the basics. Focus is on a single S21 sweep.

  • Example2: a slightly more advanced tutorial that focuses on lots of sweeps at several temperatures and powers.

  • Example3: an example showcasing some of the more advanced plotting features. The data for this notebook is at: http://dx.doi.org/10.5281/zenodo.61575

  • ExampleData.zip: A ton of actual superconducting resonator data from a Nb microstrip resonator made at ANL.

  • convert_notebooks.sh: A handy little bash script to turn the Example# notebooks into rst files in the docs folder properly.

  • readthedocs.yml and environment.yml: These are needed to properly build the documentation hosted at RTD.

Support

Please post any bugs or feature requests here on GitHub. Bugs will be squashed ASAP. Feature requests will be seriously considered!

Copyright 2016, Faustin W. Carter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scraps-0.5.2.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

scraps-0.5.2-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

Details for the file scraps-0.5.2.tar.gz.

File metadata

  • Download URL: scraps-0.5.2.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scraps-0.5.2.tar.gz
Algorithm Hash digest
SHA256 5b666563e7008180138629a28f5273959104b0031ff2bb8936e1b37d6fc8ace5
MD5 7a12567e66920525f20b1b3253931455
BLAKE2b-256 2ffee11232d8d0d0c25fbef243083f394bfc13ca1ebd91d954b8207026927fc9

See more details on using hashes here.

File details

Details for the file scraps-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: scraps-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scraps-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58204eec911a265109ddb78afdeaa92e695deef0aeff8fb85f844ba50c06892e
MD5 ef7fc5b8430c15dc2e6ba421eaa7ffe5
BLAKE2b-256 938dae3a1056823c714f45dded4f3ddfa2da750c472d46e6c76a684e3be8f2d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page