giant.scripts.generate_sample_data.sun_orientation

giant.scripts.generate_sample_data.sun_orientation(date)[source]

Return the rotation from the sun fixed frame to the inertial frame.

Note

This is just a simulation frame, it has not real physical correspondence

Parameters

date (datetime.datetime) – the date the orientation is requested

Returns

the rotation from the sun fixed frome to the inertial frame

Return type

giant.rotations.Rotation