Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend markers #140

Merged
merged 2 commits into from
Jan 11, 2025
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
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = 'Jannis Necker'

# The full version, including alpha/beta/rc tags
release = 'v0.4.11'
release = 'v0.4.12'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "timewise"
version = "0.4.11"
version = "0.4.12"
description = "A small package to download infrared data from the WISE satellite"
authors = ["Jannis Necker <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion timewise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from timewise.wise_bigdata_desy_cluster import WISEDataDESYCluster
from timewise.parent_sample_base import ParentSampleBase

__version__ = "0.4.11"
__version__ = "0.4.12"
8 changes: 7 additions & 1 deletion timewise/wise_data_by_visit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from scipy import stats
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from matplotlib.markers import MarkerStyle
from matplotlib.transforms import Affine2D

from timewise.wise_data_base import WISEDataBase
from timewise.utils import get_excess_variance
Expand Down Expand Up @@ -538,7 +540,11 @@ def plot_diagnostic_binning(
)

# set markers for visits
markers = list(Line2D.filled_markers) + ["$1$", "$2$", "$3$", "$4$", "$5$", "$6$", "$7$", "$8$", "$9$"]
markers_strings = list(Line2D.filled_markers) + ["$1$", "$2$", "$3$", "$4$", "$5$", "$6$", "$7$", "$8$", "$9$"]
markers_straight = [MarkerStyle(im) for im in markers_strings]
rot = Affine2D().rotate_deg(180)
markers_rotated = [MarkerStyle(im, transform=rot) for im in markers_strings]
markers = markers_straight + markers_rotated

# calculate ra and dec relative to center of cutout
ra = (lightcurve.ra - pos[self.parent_sample.default_keymap["ra"]]) * 3600
Expand Down
Loading