boinor.czml.extract_czml ======================== .. py:module:: boinor.czml.extract_czml Attributes ---------- .. autoapisummary:: boinor.czml.extract_czml.PIC_SATELLITE boinor.czml.extract_czml.PIC_GROUNDSTATION Classes ------- .. autoapisummary:: boinor.czml.extract_czml.CZMLExtractor Module Contents --------------- .. py:data:: PIC_SATELLITE :value: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAA... .. py:data:: PIC_GROUNDSTATION :value: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAA... .. py:class:: CZMLExtractor(start_epoch, end_epoch, N, attractor=None, pr_map=None, scene3D=True) A class for extracting orbitary data to Cesium. .. py:attribute:: packets :type: List[czml3.core.Packet] :value: [] .. py:attribute:: trajectories :type: List[Any] :value: [] .. py:attribute:: attractor :value: None .. py:attribute:: orbits :type: List[Any] :value: [] .. py:attribute:: N .. py:attribute:: i :value: 0 .. py:attribute:: gs_n :value: 0 .. py:attribute:: cust_prop .. py:attribute:: start_epoch .. py:attribute:: end_epoch .. py:method:: add_ground_station(pos, id_description=None, label_fill_color=None, label_font=None, label_outline_color=None, label_text=None, label_show=True) Adds a ground station. :param pos: Coordinates of ground station, list of geodetic latitude and longitude [lon, lat] (0 elevation) :type pos: list[~astropy.units.Quantity] :param id_description: Set ground station description :type id_description: str :param label_fill_color: Fill Color in rgba format :type label_fill_color: list[int] :param label_outline_color: Outline Color in rgba format :type label_outline_color: list[int] :param label_font: Set label font style and size (CSS syntax) :type label_font: str :param label_text: Set label text :type label_text: str :param label_show: Indicates whether the label is visible :type label_show: bool .. py:method:: add_orbit(orbit, rtol=1e-10, N=None, groundtrack_show=False, groundtrack_lead_time=None, groundtrack_trail_time=None, groundtrack_width=None, groundtrack_color=None, id_name=None, id_description=None, path_width=None, path_show=None, path_color=None, label_fill_color=None, label_outline_color=None, label_font=None, label_text=None, label_show=None) Adds an orbit. :param orbit: Orbit to be added :type orbit: boinor.twobody.orbit.Orbit :param rtol: Maximum relative error permitted :type rtol: float :param N: Number of sample points :type N: int :param groundtrack_show: If set to true, the groundtrack is displayed. :type groundtrack_show: bool :param groundtrack_lead_time: The time the animation is ahead of the real-time groundtrack :type groundtrack_lead_time: float :param groundtrack_trail_time: The time the animation is behind the real-time groundtrack :type groundtrack_trail_time: float :param groundtrack_width: Groundtrack width :type groundtrack_width: int :param groundtrack_color: Rgba groundtrack color. By default, it is set to the path color :type groundtrack_color: list[int] :param id_name: Set orbit name :type id_name: str :param id_description: Set orbit description :type id_description: str :param path_width: Path width :type path_width: int :param path_show: Indicates whether the path is visible :type path_show: bool :param path_color: Rgba path color :type path_color: list[int] :param label_fill_color: Fill Color in rgba format :type label_fill_color: list[int] :param label_outline_color: Outline Color in rgba format :type label_outline_color: list[int] :param label_font: Set label font style and size (CSS syntax) :type label_font: str :param label_text: Set label text :type label_text: str :param label_show: Indicates whether the label is visible :type label_show: bool .. py:method:: add_trajectory(positions, epochs, groundtrack_show=False, groundtrack_lead_time=None, groundtrack_trail_time=None, groundtrack_width=None, groundtrack_color=None, id_name=None, id_description=None, path_width=None, path_show=None, path_color=None, label_fill_color=None, label_outline_color=None, label_font=None, label_text=None, label_show=None) Adds trajectory. :param positions: Trajectory to plot. :type positions: ~astropy.coordinates.CartesianRepresentation :param epochs: Epochs for positions. :type epochs: ~astropy.time.Time :param groundtrack_show: If set to true, the groundtrack is displayed. :type groundtrack_show: bool :param groundtrack_lead_time: The time the animation is ahead of the real-time groundtrack :type groundtrack_lead_time: float :param groundtrack_trail_time: The time the animation is behind the real-time groundtrack :type groundtrack_trail_time: float :param groundtrack_width: Groundtrack width :type groundtrack_width: int :param groundtrack_color: Rgba groundtrack color. By default, it is set to the path color :type groundtrack_color: list[int] :param id_name: Set orbit name :type id_name: str :param id_description: Set orbit description :type id_description: str :param path_width: Path width :type path_width: int :param path_show: Indicates whether the path is visible :type path_show: bool :param path_color: Rgba path color :type path_color: list[int] :param label_fill_color: Fill Color in rgba format :type label_fill_color: list[int] :param label_outline_color: Outline Color in rgba format :type label_outline_color: list[int] :param label_font: Set label font style and size (CSS syntax) :type label_font: str :param label_text: Set label text :type label_text: str :param label_show: Indicates whether the label is visible :type label_show: bool .. py:method:: get_document() Retrieves CZML document.