Issue
I tried according this tutorial this program:
import phoebe
param = phoebe.parameters.FloatParameter(qualifier='myfloatparameter',
description='mydescription',
default_unit=u.m,
limits=[None,20],
value=5)
and an error is:
NameError: name 'u' is not defined
where u are units. What should I install?
Solution
You are missing
from phoebe import u
Answered By - innisfree
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.