Current collected state Current
Observed since 20 Oct, 17:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python module for fetching and plotting astronomical data of stars from AAVSO
This Python package aavsoquery allows fetching and visualising astronomical observational data from the AAVSO (American Association of Variable Star Observers) database. It provides tools to retrieve data, plot light curves, and optionally fit models to the observed data.
You can install aavsoquery via pip:
pip install aavsoquery
Here is an example of how to use aavsoquery:
from aavsoquery import AAVSODataFetcher, Plotter
fetcher = AAVSODataFetcher(
star_name='T CrB',
obs_types='vis',
num_results=100,
pages=1
) # query by star's name (Example: T CrB), ability to fetch by a particular observer by obscode = 'Observer's code'
julian_dates, magnitudes = fetcher.fetch_and_parse_data(
include_uncertain=True) # you can exclude uncertain values that begins with <
if len(julian_dates) > 0 and len(magnitudes) > 0: # if data fetched then plot it
plotter = Plotter(julian_dates, magnitudes)
plotter.plot_light_curve(interval_hours=1,
fit_model=True) # ability to fit a simple gaussian model, also defaults to mean hourly data if more datapoints present
else:
print("No data available to plot.")
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.2 | 24 Apr 2025 | 5 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6f8a6884932d249cd6c0ddfc4b3d06d40e411772a98ed877d67be6b87e1406bb