-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The as
conflicts with Unitful's attoseconds
#30
Comments
Curious what the solution could be. |
I was wondering what the use case was! I did not know it was common to use SI prefixes on arcseconds! It seems that the two prefixes you mention are the only ones commonly used. I can think of two options Option 1: Allow the julia> 1μarcsecond
1 μ″ is a bit awkward. Another downside is that the units are displayed as Option 2: Define the two common prefixed versions as their own units. The package would include all the units in this table. It would not allow for general prefixing of the arcsecond or arcminute, but this does not seem to be common anyways. Line 46 in UnitfulAstro.jl import UnitfulAngles: arcminute, arcsecond would need to be modified to include these new units. |
I would prefer option 2. It would look something like: @unit mas "mas" Milliarcsecond Arcsecond//1_000 false
@unit μas "μas" Microarcsecond Arcsecond//1_000_000 false |
Note however that this table does not include symbols for these two units, only abbreviations. I'm not sure what that's about. |
|
as
conflicts with Unitful's atto secondsas
conflicts with Unitful's attoseconds
#28 added
as
as an alias for arcsecond that allows prefixes. This however conflicts with seconds * 10^-18 (attoseconds, as).The text was updated successfully, but these errors were encountered: