[Branch]: differential_rotation

This is the feature branch that contains some diff rot code, I think it needs some love so I am opening this so people don't forget about it!!
You mean the solar P, B0 and semi-diameter ?


On Wed, Aug 27, 2014 at 9:12 AM, Stuart Mumford <notifications@github.com>
wrote:

> In sunpy/physics/transforms/differential_rotation.py:
>
> > +    # It appears that there is a difference in how the SSWIDL function
> > +    # hel2arcmin and the sunpy function below performs this co-ordinate
> > +    # transform.
> > +
> > +    newx, newy = convert_hg_hpc(longitude.to(u.deg).value + drot.to(u.deg).value,
> > +                                latitude.to(u.deg).value,
> > +                                b0_deg=vend["b0"].to(u.deg).value,
> > +                                l0_deg=vend["l0"].to(u.deg).value,
> > +                                dsun_meters=(constants.au * sun.sunearth_distance(t=dend)).value,
> > +                                occultation=False)
> > +    newx = Angle(newx, u.arcsec)
> > +    newy = Angle(newy, u.arcsec)
> > +    return newx.to(u.arcsec), newy.to(u.arcsec)
> > +
> > +
> > +def _calc_P_B0_SD(date, spacecraft=None, arcsec=False):
>
> @wafels <https://github.com/wafels> Should these values not be map
> properties?
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/sunpy/sunpy/pull/902/files#r16773478>.
>