Skip to content

Electric charge base unit in cgs should not be Coulomb #4354

Closed

Description

@astrofrog

The following example returns a unit of Coulomb-centimeter, but Coulomb is an SI unit:

In [1]: from astropy import units as u

In [2]: u.debye.decompose(bases=u.cgs.bases)
Out[2]: Unit("3.33333e-28 C cm")

Activity

  1. eteq commented on Nov 29, 2015

    @eteq
    Member

    @astrofrog - I think this might be intended behavior, although admittedly a bit counter-intuitive. Remember that "cgs" alone isn't enough to determine how E&M constants and units behave: you have to decide if you're using electrostatic, gaussian, or one of the other conventions. So maybe the choice was made to do C instead of picking one of them? There's some discussion of this in #745, although I think there's some elsewhere too that's more relevant. @embray or @mdboom might also remember more clearly.

    Regardless, the current behavior does seem counter-intuitive, though. See #4355 for an alternative approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions