Adds docs
All checks were successful
gitea-physics/pysuperconductor/pipeline/head This commit looks good
All checks were successful
gitea-physics/pysuperconductor/pipeline/head This commit looks good
This commit is contained in:
parent
7843e462de
commit
a86bcac604
@ -1,3 +1,8 @@
|
||||
"""pysuperconductor
|
||||
|
||||
This package implements some superconductor calculations, to facilitate noise
|
||||
calculations in proximity to superconductors.
|
||||
"""
|
||||
import logging
|
||||
from pysuperconductor.meta import __version__
|
||||
|
||||
|
@ -9,6 +9,8 @@ from typing import Tuple
|
||||
|
||||
|
||||
def energy(freq: float, delta: float) -> float:
|
||||
"""Takes in a "raw" quasiparticle energy and a gap, and returns the
|
||||
quasiparticle's energy in the SC state."""
|
||||
return numpy.sqrt(freq ** 2 + delta ** 2)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user