Skip to content

Commit

Permalink
add sme.mask_vrad
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Mar 29, 2022
1 parent 22f08e8 commit 0af7bec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pysme/sme.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,12 @@ def mask_cont(self):
return None
return self.mask == MASK_VALUES["continuum"]

@property
def mask_vrad(self):
if self.mask is None:
return None
return self.mask == MASK_VALUES["vrad"]

@property
def cscale_degree(self):
"""int: Polynomial degree of the continuum as determined by cscale_flag"""
Expand Down

0 comments on commit 0af7bec

Please sign in to comment.