soltrack.position module
- class soltrack.position.Position[source]
Bases:
Parameters
Class containing the position of the Sun and related attributes and methods.
- computePosition()[source]
This function is obsolescent and will be removed in a future version. Use compute_position() instead.
- create_df(utc=False, jd=False, ecl=False, eq=False, uncorr=False, rts_pos=False)[source]
Create a Pandas DataFrame with the results of the Sun position and rise/set data.
- Parameters:
utc (bool) – Include utc, defaults to False.
jd (bool) – Include Julian day, defaults to False.
ecl (bool) – Include ecliptical coordinates, defaults to False.
eq (bool) – Include equatorial coordinates, defaults to False.
uncorr (bool) – Include coordinates uncorrected for refraction, defaults to False.
rts_pos (bool) – Include the rise, transit and set positions, defaults to False.
Note that if a desired variable is not available, the request will be silently ignored.