Contact plan – ephemerista.analysis.contacts¶
The contacts.py module.
This module provides the ContactPlan analysis, which schedules the passes of the spacecraft over the ground stations into a plan without conflicts and estimates the data each contact can download.
- class ephemerista.analysis.contacts.Contact(*, stationId, spacecraftId, start, stop, duration, maxElevation, linkDuration=None, dataVolume=None)¶
A scheduled contact between a ground station and a spacecraft.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ephemerista.analysis.contacts.ContactPlan(*, scenario, startTime=None, endTime=None, minDuration=120.0, turnaroundTime=60.0, priority='longest', oneStationPerSpacecraft=True, withEnvironmentalLosses=True)¶
Contact plan analysis.
Every pass of a spacecraft over a ground station is a candidate contact. Passes shorter than
min_durationare left out. The others are taken greedily in order ofpriority: a pass joins the plan unless its station is already in another contact (or withinturnaround_timeof one), or, withone_station_per_spacecraft, its spacecraft is already in contact with another station. Each station has one antenna and contacts are whole passes.Where a spacecraft and a station share a downlink channel, the link budget gives the time during which the downlink closes, and the data volume is that time multiplied by the data rate of the channel. With several shared downlink channels, the one that carries the most data in the pass is counted.
- analyze(ensemble=None, visibility=None, link_budget=None)¶
Run the contact plan analysis.
- Return type:
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ephemerista.analysis.contacts.ContactPlanResults(*, type='contact_plan', startTime, endTime, contacts, rejected, stations, spacecraft)¶
Results of the ContactPlan analysis.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dataframe(scenario=None)¶
Scheduled contacts as a DataFrame, with asset names when the scenario is given.
- Return type:
pd.DataFrame
- class ephemerista.analysis.contacts.RejectedPass(*, stationId, spacecraftId, start, stop, duration, maxElevation, reason)¶
A pass that the plan leaves out, and why.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ephemerista.analysis.contacts.SpacecraftSummary(*, contacts, contactTime, contactTimePerDay, dataVolume, dataVolumePerDay, maxGap)¶
Totals of the contacts of one spacecraft.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ephemerista.analysis.contacts.StationSummary(*, contacts, contactTime, utilization, dataVolume)¶
Totals of the contacts of one ground station.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'populate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].