def alpha(self):
"""
*astropy.Quantity*
The angle of the source trajectory relative to the binary lens
axis (or primary-secondary axis). Measured counterclockwise,
i.e., according to convention advocated by `Skowron et
al. 2011 (ApJ, 738, 87)
<http://adsabs.harvard.edu/abs/2011ApJ...738...87S>`_. May be
set as a *float* --> assumes "deg" is the default unit.
Regardless of input value, returns value in degrees.
"""
if not isinstance(self.parameters['alpha'], u.Quantity):
self.parameters['alpha'] = self.parameters['alpha'] * u.deg
return self.parameters['alpha'].to(u.deg)
评论列表
文章目录