Skip to content

Commit

Permalink
more markers for long wise lightcurves
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisNe committed Jan 11, 2025
1 parent ad4cb73 commit 8099ef7
Showing 1 changed file with 7 additions and 1 deletion.
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 8099ef7

Please sign in to comment.