Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisi committed Dec 14, 2021
1 parent bfaa1df commit 46decb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/GW150914_circular.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -1263,7 +1263,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down
12 changes: 9 additions & 3 deletions ringdown/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,17 @@ def ifos(self) -> list:
return list(self.data.keys())

@property
def t0(self):
def t0(self) -> float:
""" Target truncation time (defined at geocenter if model accepts
multiple detectors).
"""
return self.target.t0

@property
def sky(self):
def sky(self) -> tuple[float]:
""" Tuple of source right ascension, declination and polarization
angle (all in radians).
"""
return (self.target.ra, self.target.dec, self.target.psi)

# this can be generalized for charged bhs based on model name
Expand All @@ -157,7 +163,7 @@ def spectral_coefficients(self):
return array(f_coeffs), array(g_coeffs)

@property
def analysis_data(self):
def analysis_data(self) -> dict[Data]:
data = {}
i0s = self.start_indices
for i, d in self.data.items():
Expand Down

0 comments on commit 46decb9

Please sign in to comment.