Skip to content

Commit cc2c6b9

Browse files
Tweak the RST of the new paragraph, and move it
1 parent c1cfabb commit cc2c6b9

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

skyfield/sgp4lib.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@
3535

3636
class EarthSatellite(VectorFunction):
3737
"""An Earth satellite loaded from a TLE file and propagated with SGP4.
38-
The two initialization arguments ``line1`` and ``line2`` correspond to
39-
the two data lines in a TLE file. ``name`` allows you to give a name to
40-
the satellite, accessible with ``self.name``. ``ts`` is a
41-
:class:`~skyfield.timelib.Timescale object, used to generate the
42-
``epoch`` value. If it is not provided, __init__ will use a built in
43-
Timescale object.
4438
4539
An earth satellite object is a Skyfield vector function, so call its
4640
:meth:`~skyfield.vectorlib.VectorSum.at()` method to generate its
@@ -55,6 +49,14 @@ class EarthSatellite(VectorFunction):
5549
A Skyfield :class:`~skyfield.timelib.Time` giving the exact
5650
epoch moment for these satellite orbit parameters.
5751
52+
When building a satellite, use the arguments ``line1`` and ``line2``
53+
to provide the two data lines from a TLE file as separate strings.
54+
Optional ``name`` lets you give a name to the satellite, accessible
55+
later through the ``name`` attribute. ``ts`` is a
56+
:class:`~skyfield.timelib.Timescale` object, used to generate the
57+
``epoch`` value; if it is not provided, the satellite will use a
58+
built in ``Timescale`` object.
59+
5860
If you are interested in the catalog entry details, the SGP4 model
5961
parameters for a particular satellite can be accessed through its
6062
``model`` attribute:

0 commit comments

Comments
 (0)