The Wayback Machine - https://web.archive.org/web/20220810165440/https://github.com/topics/astrophysics
Skip to content
#

astrophysics

Here are 871 public repositories matching this topic...

astrofrog
astrofrog commented Aug 8, 2022

At the moment, when reading a FITS file with BUNIT set to adu with CCDData.read, one gets the following info message:

INFO:astropy:using the unit adu passed to the FITS reader instead of the unit adu in the FITS file.

it might make sense to avoid emitting this message if the units match? (cc @mwcraig)

Feature Request nddata good first issue
lightkurve
barentsen
barentsen commented Jan 22, 2021

We could look into using the diskcache package to cache MAST search operations:

https://pypi.org/project/diskcache/

The package is a disk-based key-value store which makes it easy to specify an expiration time for each entry. This would allow us to e.g. cache search queries for 24 hours, which would significantly speed up searches across different Python processes, whilst largely avoiding

help wanted good first issue
maxpkatz
maxpkatz commented Sep 26, 2017

The Poisson solve absolute tolerance sets the accuracy of the Poisson solve. Given the value of abs_tol, the error level targeted in the Poisson solve is abs_tol * 4 * pi * G * rho_max, where rho_max is the maximum density on the domain. For Cartesian simulations the default value is 1.e-11, and for non-Cartesian the default value is 1.e-10.

At high resolution, and/or for complicated mass distr

lwang-astro
lwang-astro commented Jun 7, 2022

Today one student has tried to evolve a group of orbits using the MWPotential2014 and found that some bound orbits have positive energy obtained from .E() function, which looks incosistent. We have investigated the potential calculation of MWPotential2014 and found that the potential zero for PowerSphericalPotentialwCutoff is chosen at (R=0, z=0) while the potential zero for other two compon

radis
CorentinGrimaldi
CorentinGrimaldi commented Apr 6, 2022

🎯 Describe what you'd like

The possibility to plot any variable (radiance, absorbance...) on a double x-axis plot would be really convenient!

💡 Possible implementations

In spectrum.plot the argument wunit could be used.
For exam

enhancement good first issue interface 😎.
rrjbca
rrjbca commented Aug 31, 2021

It was noted in the review for our JOSS paper that the keyword argument noise for the function redshifts_from_comoving_density has a misleading name. See the review comment here. They suggested renaming to fixed_N. My own suggestion would be shot_noise (or perhaps poisson). Since this would require a break

enhancement good first issue module: galaxies low priority

Improve this page

Add a description, image, and links to the astrophysics topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the astrophysics topic, visit your repo's landing page and select "manage topics."

Learn more