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
4 changes: 2 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
toxenv: codestyle

- name: Python 3.13 with required dependencies and coverage checking
os: ubuntu-latest
os: macos-latest
python: '3.13'
toxenv: py313-test-cov

- name: Python 3.13 with nightly wheels for key dependencies
continue-on-error: true
os: ubuntu-latest
os: macos-latest
python: '3.13'
toxenv: py313-test-devdeps

Expand Down
25 changes: 25 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: pytelpoint
channels:
- conda-forge
dependencies:
- python>=3.13
- astropy
- scipy
- matplotlib
- numpy
- pandas
- arviz
- corner
- pymc
- pip
- ipympl
- ipykernel
- coverage
- pytest-astropy
- black
- flake8
- pytest-benchmark
- sphinx-astropy
- pip:
- tox
- tox-conda
Binary file added notebooks/bino_azel_20250326.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/bino_corner_20250326.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/bino_hist_20250326.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/bino_resid_20250326.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/bino_sky_20250326.pdf
Binary file not shown.
Binary file added notebooks/bino_sky_20250326.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
273 changes: 63 additions & 210 deletions notebooks/dev.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]
authors = [
{ name = "T. E. Pickering", email = "te.pickering@gmail.com"}
]
license = {file = "licenses/LICENSE.rst"}
license-files = ["licenses/LICENSE.rst"]
readme = "README.rst"
description = "Python utilities for analyzing telescope pointing and tracking via probabilistic methods."
requires-python = ">=3.13"
Expand Down
8 changes: 8 additions & 0 deletions pytelpoint/fitting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import platform

import numpy as np

Expand All @@ -7,6 +8,13 @@

import astropy.units as u


# conda-forge adds their own clang++ to pymc dependencies, but it conflicts with
# the xcode command-line tools libraries. enforce the use of apple's clang++.
if platform.system() == "Darwin":
import pytensor
pytensor.config.cxx = "/usr/bin/clang++"

__all__ = ["azel_fit", "best_fit_pars"]

DEG2RAD = np.pi / 180
Expand Down
Loading