Skip to content

Commit

Permalink
Merge pull request #121 from WWGolay/telrun-dev
Browse files Browse the repository at this point in the history
TelrunOperator development
  • Loading branch information
WWGolay authored Apr 2, 2024
2 parents 20de951 + ccf3fcf commit c84a24e
Show file tree
Hide file tree
Showing 544 changed files with 9,537 additions and 80,723 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,5 @@ dmypy.json
*OmniSim*
!coverage.xml
docs/source/api/auto_api/
pgHardware
docs/source/_build/
pgHardware
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -9,12 +9,12 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: [--profile=black]
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
python: "3.11"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pyscope

|License| |Zenodo| |PyPI Version| |PyPI Python Versions| |PyPI Downloads| |Astropy| |GitHub CI| |Code Coverage| |Documentation Status| |Codespaces Status| |pre-commit| |Black| |isort| |Donate|

.. image:: https://github.com/WWGolay/pyscope/blob/main/docs/source/images/pyscope_logo_white.png
.. image:: https://github.com/WWGolay/pyscope/blob/main/docs/source/_static/pyscope_logo_white.png
:alt: pyscope logo

This is the repository for `pyscope <https://pyscope.readthedocs.io/en/latest/>`_,
Expand Down
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TODO
====

- telrun_operator.py: Fix save locations when doing WCS, etc. to use the tmp directory
- telrun_operator.py: Make pyscope image header logger capture output from all pyscope loggers, not just the logger in the pyscope file
- schedtab.py: Change string columns to handle arbitrary length strings instead of truncating
4 changes: 1 addition & 3 deletions _tba/analysis/exoplanet_fitter
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ def dmag(t, params):
"""Function to call from other scripts, houses the process of computing
intensity over time"""
p, b, v = params[:]
z = np.sqrt(
(v * t) ** 2 + b**2
) # distance from center of star to center of planet
z = np.sqrt((v * t) ** 2 + b**2) # distance from center of star to center of planet
# print (p, z)
f = dflux(p, z)
mag = 2.5 * math.log(f) # converts fractional intensity to magnitude change
Expand Down
Loading

0 comments on commit c84a24e

Please sign in to comment.