The galactic rotation curve derived from observations of neutral hydrogen