Current collected state Current
Observed since 20 Oct, 21:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Package for visualising radially expanding circumstellar envelopes of AGB stars.
A package for visualising radially expanding circumstellar envelopes of AGB stars.
python3 -m pip install agb_star_deprojection_methods
from agb_star_deprojection_methods.classes import CondensedData, StarData
fits_file = "example_fits_file.fits" # relative path to fits file
distance_to_star = 8.04e8 # distance to star in AU
rest_frequency = 2.3e11 # rest frequency in Hz
star = StarData(fits_file, distance_to_star, rest_frequency)
star.plot_channel_maps() # many optional arguments
star.plot_3D() # many optional arguments
data = star.export()
data.v_exp = 20
new_star = StarData(data)
years = 1000
info = new_star(years) # CondensedData object representing the envelope in 1000 years
expanded_star = StarData(info)
path_to_folder = "animation/frames"
star.plot_3D(folder = path_to_folder, num_angles = 100)
To create a mask manually, use the following script:
from agb_star_deprojection_methods.classes import StarData
fits_file = "example_fits_file.fits"
distance_to_star = 8.04e8
rest_frequency = 2.3e11
star = StarData(fits_file, distance_to_star, rest_frequency)
stds = 3 # number of standard deviations to initially filter by
savefile = "trial_mask.npy" # .npy file to save mask to
# open mask selector
star.create_mask(filter_stds=stds, savefile=savefile)
Running this will open a matplotlib window with a subplot for each velocity channel.
savefile.To load the star data with the mask:
from agb_star_deprojection_methods.classes import StarData
fits_file = "example_fits_file.fits"
distance_to_star = 8.04e8
rest_frequency = 2.3e11
maskfile = "trial_mask.npy" # .npy file to load mask from
star = StarData(fits_file, distance_to_star, rest_frequency, maskfile)
# any other operations you want done
# ...
See our report and more detailed documentation at https://psychedelickoala.github.io/agb-star-deprojection-docs/AGB-Star-Deprojection.html.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.3 | 27 Jul 2025 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7ddcf1425d0b4c1fa022219e445ee17e58d6f3b8e9da177cd8479fea2685e25a