Skip to content

Commit

Permalink
Documentation added for ifs_data parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Apr 30, 2020
1 parent 482118b commit 50e4b4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Thank you for your contribution to the PynPoint repo! Before submitting this PR,
- [ ] That all unit tests are finishing after running `make test` in your local repo folder. This requires the installation of `pytest` and `pytest-cov`.
- [ ] To add unit tests in case there are new pipeline modules and/or functionalities added.
- [ ] That only text files have been added and changed in the commits of the PR. Binary files will clutter up the repo because even after removing such files they will remain in the repo history.
- [ ] To add and/or update the docstrings.
- [ ] To add and/or update the docstrings (including the parameters, returns, types, and descriptions).
- [ ] To add and/or update the typehints and typechecks.
2 changes: 1 addition & 1 deletion pynpoint/processing/fluxposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ def run(self) -> None:

if self.m_merit == 'gaussian':
print(f'Gaussian standard deviation (counts): {np.sqrt(var_noise):.2e}')
if self.m_merit == 'hessian':
elif self.m_merit == 'hessian':
print(f'Hessian standard deviation: {np.sqrt(var_noise):.2e}')

initial = np.zeros((self.m_nwalkers, ndim))
Expand Down
4 changes: 4 additions & 0 deletions pynpoint/readwrite/fitsreading.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def __init__(self,
provided directly. If set to None, the FITS files in the `input_dir` are read. All
paths should be provided either relative to the Python working folder (i.e., the folder
where Python is executed) or as absolute paths.
ifs_data : bool
Import IFS data which is stored as a 4D array with the wavelength and temporal
dimensions as first and second dimension, respectively. If set to ``False`` (default),
the data is imported as a 3D array with the temporal dimension as first dimension.
Returns
-------
Expand Down

0 comments on commit 50e4b4f

Please sign in to comment.