From 8099ef76b443d546fac18d32e9115c69ef584931 Mon Sep 17 00:00:00 2001 From: JannisNe Date: Sat, 11 Jan 2025 19:06:59 +0100 Subject: [PATCH 1/2] more markers for long wise lightcurves --- timewise/wise_data_by_visit.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/timewise/wise_data_by_visit.py b/timewise/wise_data_by_visit.py index e3ba737..72e63b1 100644 --- a/timewise/wise_data_by_visit.py +++ b/timewise/wise_data_by_visit.py @@ -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 @@ -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 From ca18d67126a8f111b0db478db2a6dd7db36ac836 Mon Sep 17 00:00:00 2001 From: JannisNe Date: Sat, 11 Jan 2025 19:13:34 +0100 Subject: [PATCH 2/2] bump version --- docs/source/conf.py | 2 +- pyproject.toml | 2 +- timewise/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 76a1508..d57e739 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 5d4b5f9..00423ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT" diff --git a/timewise/__init__.py b/timewise/__init__.py index 20527b8..08f1e88 100644 --- a/timewise/__init__.py +++ b/timewise/__init__.py @@ -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"