
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Simple tools for astronomical spectral energy distributions, particularly filter projections.
Modules for storing and operating on astronomical source spectral energy distributions.
.. image:: https://github.com/bd-j/sedpy/workflows/Tests/badge.svg :target: https://github.com/bd-j/sedpy/actions?query=workflow%3ATests
.. image:: https://readthedocs.org/projects/sedpy/badge/?version=latest :target: https://sedpy.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
sedpy
is pip installable:
.. code-block:: shell
python -m pip install astro-sedpy
Or you can install the latest version from github:
.. code-block:: shell
git clone https://github.com/bd-j/sedpy
cd sedpy
pip install .
Then in python, e.g.,
.. code-block:: python
from sedpy import observate
# get magnitude from a spectrum:
filt = observate.Filter("sdss_r0")
mag = filt.ab_mag(angstroms, f_lambda_cgs)
# or get several magnitudes at once
filterlist = observate.load_filters(["galex_NUV", "sdss_r0"])
mags = observate.getSED(angstroms, f_lambda_cgs, filterlist=filters)
For the filters available by default see the filter_list
.
For adding transmission curves, see these docs
.
.. _filter_list: sedpy/data/filters/README.md .. _docs: docs/transmissions.rst
This code can be referenced as:
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4582723.svg :target: https://doi.org/10.5281/zenodo.4582723
observate
has methods for generating synthetic photometry through any filters,
and classes for dealing with filters generally. There is some functionality for spectra
(vaccum to air conversions).
With a huge debt to Mike Blanton's kcorrect <https://github.com/blanton144/kcorrect>
_ code .
attenuation
contains simple dust attenuation methods.
smoothing
methods for smoothing well-sampled spectra.
extinction
(Deprecated) classes for a detailed modeling of extinction curves,
following the Fitzpatrick & Massa parameterizations.
See dust_extinction <https://dust-extinction.readthedocs.io/en/stable/>
_ instead.
FAQs
Simple tools for astronomical spectral energy distributions, particularly filter projections.
We found that astro-sedpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.