Skip to content

Commit

Permalink
Extend markers (#140)
Browse files Browse the repository at this point in the history
* more markers for long wise lightcurves

* bump version
  • Loading branch information
JannisNe authored Jan 11, 2025
1 parent ad4cb73 commit 7785872
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
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

0 comments on commit 7785872

Please sign in to comment.