File originale (file in formato SVG, dimensioni nominali 1 849 × 591 pixel, dimensione del file: 1,87 MB)
Logo di Commons
Logo di Commons
Questo file e la sua pagina di descrizione (discussione · modifica) si trovano su Wikimedia Commons (?)

Dettagli

Descrizione
English: Plot of the trajectory of interstellar comet 3I/ATLAS against the stellar background from 2024 to 2026. Made with Python using packages Starplot [1] and Skyfield [2]. Heliocentric orbital elements are from the MPC.
Data
Fonte Opera propria
Autore Thunkii
Altre versioni

File:3I-ATLAS_star_chart.png

Python source
InfoField
click to expand
# Code adapted from example on Starplot documentation website
from skyfield.api import load
from skyfield.data import mpc
from skyfield.constants import GM_SUN_Pitjeva_2005_km3_s2 as GM_SUN

from starplot import MapPlot, Projection, Star, _
from starplot.styles import PlotStyle, extensions

# First, we use Skyfield to get comet data
# Code adapted from: https://rhodesmill.org/skyfield/kepler-orbits.html#comets
with load.open(mpc.COMET_URL) as f:
    comets = mpc.load_comets_dataframe(f)

# Keep only the most recent orbit for each comet,
# and index by designation for fast lookup.
comets = (
    comets.sort_values("reference")
    .groupby("designation", as_index=False)
    .last()
    .set_index("designation", drop=False)
)

# Find comet
row = comets.loc["3I/ATLAS"]
print(row)

ts = load.timescale()
eph = load("de440.bsp")
sun, earth = eph["sun"], eph["earth"]
comet = sun + mpc.comet_orbit(row, ts, GM_SUN)

# Find the RA/DEC of comet for every 8 days starting on October 2, 2024
radecs = []
for day in range(-1000, 2000, 10):
    t = ts.utc(2024, 9 , 28 + day)
    ra, dec, distance = earth.at(t).observe(comet).radec()
    radecs.append((t, ra.hours * 15, dec.degrees))

# Now let's plot the data on a map!
style = PlotStyle().extend(
    extensions.GRAYSCALE_DARK,
    {"figure_background_color": "hsl(136, 0%, 20%)"},
    extensions.MAP,
    {
        "star": {
            "label": {
                "font_weight": "normal",
            }
        },
        "legend": {
            "___location": "lower center",
        },
        "ecliptic": {
            "label": {
                "font_size": 25}},
        "constellation_labels": {
            "font_size": 20,
            "font_weight": "heavy",}
    },
)
style.legend.___location = "lower center"

p = MapPlot(
    projection=Projection.MERCATOR,
    ra_min=6 * 15,
    ra_max=20 * 15,
    dec_min=-32,
    dec_max=32,
    style=style,
    resolution=2500,
    scale=0.4,
)

# Plot the comet markers first, to ensure their labels are plotted
for t, ra, dec in radecs:
    if (t.tt>=2460793) and (t.tt<=2461120):
        if (t.utc.month==1 and t.utc.day<=10) or t.tt <=2460793+10:
            label=f"{t.utc_strftime('%Y %b %-d')}"
        else:
            label = f"{t.utc_strftime('%b %-d')}"
        p.marker(
        ra=ra,
        dec=dec,
        style={
            "marker": {
                "size": 10,
                "symbol": "circle",
                "fill": "none",
                "color": "hsl(0,100%,50%)",
                "edge_color": "hsl(0,100%,50%)",
                "alpha": 1,
                "zorder": 4096,
            },
            "label": {
                "font_size": 21,
                "font_weight": "bold",
                "font_color": "hsl(60, 70%, 72%)",
                "zorder": 4096,
                "offset_x": "auto",
                "offset_y": "auto",
            },
        },
        label=label,
        legend_label="3I/ATLAS",
    )
    else:
        label = None
        p.marker(
        ra=ra,
        dec=dec,
        style={
            "marker": {
                "size": 2,
                "symbol": "circle",
                "fill": "none",
                "color": "hsl(0,100%,50%)",
                "edge_color": "hsl(0,100%,50%)",
                "alpha": 1,
                "zorder": 2048,
            },
        },
        legend_label="3I/ATLAS",
    )

p.gridlines(labels=False)
p.constellations()
p.constellation_borders()
p.stars(where=[_.magnitude < 6], where_labels=[_.magnitude < 2])
p.constellation_labels()
p.milky_way()
p.ecliptic()
p.title('Path of 3I/ATLAS', style={
    "font_size":58,
    "font_weight":"bold",
    "font_color":"hsl(136, 0%, 90%)",
    "anchor_point":'center',
})

p.export("map_comet_3i.svg",format='svg', padding=0)

Licenza

Io, detentore del copyright su quest'opera, dichiaro di pubblicarla con la seguente licenza:
w:it:Creative Commons
attribuzione
Questo file è disponibile in base alla licenza Creative Commons Attribuzione 4.0 Internazionale
Tu sei libero:
  • di condividere – di copiare, distribuire e trasmettere quest'opera
  • di modificare – di adattare l'opera
Alle seguenti condizioni:
  • attribuzione – Devi fornire i crediti appropriati, un collegamento alla licenza e indicare se sono state apportate modifiche. Puoi farlo in qualsiasi modo ragionevole, ma non in alcun modo che suggerisca che il licenziante approvi te o il tuo uso.

Didascalie

Aggiungi una brevissima spiegazione di ciò che questo file rappresenta
Plot of the trajectory of interstellar comet 3I/ATLAS against the stellar background from 2024 to 2026.

Elementi ritratti in questo file

raffigura

image/svg+xml

Cronologia del file

Fare clic su un gruppo data/ora per vedere il file come si presentava nel momento indicato.

Data/OraMiniaturaDimensioniUtenteCommento
attuale04:16, 1 ago 2025Miniatura della versione delle 04:16, 1 ago 20251 849 × 591 (1,87 MB)Thunkiishaving off sides
04:04, 1 ago 2025Miniatura della versione delle 04:04, 1 ago 20251 852 × 594 (1,86 MB)ThunkiiUploaded own work with UploadWizard

La seguente pagina usa questo file:

Utilizzo globale del file

Anche i seguenti wiki usano questo file:

Metadati