Skip to main content

Questions tagged [astropy]

Astropy is a community Python package for Astronomy.

Filter by
Sorted by
Tagged with
7 votes
1 answer
81 views

Search table without repetitive for loops

I have an astropy table with a column containing datetime.datetime instances. I want to isolate the rows of this table that correspond to a user specified year, ...
user144153's user avatar
2 votes
2 answers
166 views

Decorator to convert a function's result into the desired units

I tried to collect some of my formulas inside classes so that I didn't need to browser the names of the functions anymore but only determine which Quantity I want to calculate and then check which ...
MSeifert's user avatar
  • 740
7 votes
1 answer
157 views

Catalogue manipulation

I have a catalogue of 56000 objects and I want to replace some columns with new values for instance replace NaN with -99 and <...
Dalek's user avatar
  • 133