Skip to content

Add a velocity convenience property to frames #6854

Closed

Description

@eteq

Following from some discussions (with @adrn and @mhvk) about things people find confusing in the new velocity machinery, we are now thinking there should be a set of attributes that're basically just:

def velocity(self):
    return self.cartesian.differentials['s']

and similar for proper_motion and radial_velocity. The iffy part is that radial_velocity already exists and yields a quantity, not a RadialDifferential. Probably that's OK though, because it's not that useful to use RadialDifferential?

Activity

  1. added this to the v3.0.0 milestone on Nov 15, 2017
  2. changed the title [-]Add a velocity convenience property to representations[/-] [+]Add a velocity convenience property to frames[/+] on Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions