Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ plugins:
options:
docstring_style: "numpy"
members_order: source
setup_commands:
- "import sys, os; root=os.environ.get('GITHUB_WORKSPACE', '.'); sys.path.insert(0, os.path.join(root, 'src'))"
- "import sys, os; root=os.environ.get('GITHUB_WORKSPACE', '.'); sys.path.insert(0, os.path.join(root, '.'))"

markdown_extensions:
- admonition
Expand Down
32 changes: 0 additions & 32 deletions src/dorito/model_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,6 @@ class ResolvedFit(_BaseResolvedFit, ModelFit):
``True``.
"""

def __init__(self, file, use_cov=True):
"""Initialise a resolved-source ModelFit.

Parameters
----------
file : str or path-like
Path to the data file or exposure to be passed to the parent
:class:`amigo.model_fits.ModelFit` initialiser.
use_cov : bool, optional
Whether to use the covariance information from the data, by
default ``True``.
"""

return super().__init__(file, use_cov=use_cov)

def get_key(self, param):
match param:
case "log_dist":
Expand Down Expand Up @@ -162,23 +147,6 @@ def get_key(self, param):

return super().get_key(param)

def __init__(self, file, use_cov=True):
"""Initialise a dynamic resolved fit.

This class behaves like :class:`ResolvedFit` but keys distribution
parameters per-exposure. The constructor accepts the same arguments
as :class:`ResolvedFit` and delegates to the parent initialiser.

Parameters
----------
file : str or path-like
Path to the data file or exposure.
use_cov : bool, optional
Whether to use covariance information, by default ``True``.
"""

return super().__init__(file, use_cov=use_cov)


class TransformedResolvedFit(ResolvedFit):
"""Resolved-source fit using coefficients describing a transformed basis.
Expand Down