Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Astrophysical routines.
:Documentation: http://astwro.readthedocs.io/ :Source: https://github.com/majkelx/astwro :Download: https://pypi.python.org/pypi/astwro
|version badge| |licence badge| |pythons badge|
.. |version badge| image:: https://img.shields.io/pypi/v/astwro.svg?maxAge=3600 :target: https://pypi.python.org/pypi/astwro/ .. |licence badge| image:: https://img.shields.io/pypi/l/astwro.svg :target: https://pypi.python.org/pypi/astwro/ .. |pythons badge| image:: https://img.shields.io/pypi/pyversions/astwro.svg :target: https://pypi.python.org/pypi/astwro/
Set of modules developed in Astronomical Institute of Wroclaw University.
Contains wrappers for daophot
package, star lists manipulation as pandas
DataFrames with
export/import to daophot
and ds9
formats, genetic algorithm for searching for optimal PSF stars and other.
.. code:: bash
$ pip install astwro
You should setup paths to executables (e.g. your daophot
).
See documentation <https://astwro.readthedocs.io/en/latest/installation.html#astwro-cfg-configuration-file>
_.
.. note:: You must have modern DAOPHOT suite installed to use pydaophot
submodule (not IRAF's daophot).
Package contains following modules:
pydaophot
- wrapper for Peter Stetson's DAOPHOT photometry suite:.. code:: python
d = astwro.pydaophot.Daophot(image='i.fits') res = d.PHotometry(IS=35, OS=50, apertures=[8])
starlist
- provides pandas objects for stars list, with import/export do daophot and ds9 formats... code:: python
s = res.photometry_starlist.sort_values('mag') psf = astwro.starlist.read_dao_file('i.lst') astwro.starlist.write_ds9_regions('i.reg', color='blue', indexes=[psf.index], colors=['red']) # PSF stars red
utils
- some helpers for scripts... code:: python
dir = astwro.utils.tempdir('i.lst') f = open(os.path.join(dir.path,'notimportant.txt'), 'w')
tools
- command line (callable form python also) tools including gapick
for finding optimal PSF-stars set using generic algorithm... code:: bash
$ gapick.py -od results -c i.coo i.fits
For any comments or wishes please e-mail for the following alias: astwro.0.5@2007.gfdgfdg.com
For any issues please use github tracker: https://github.com/majkelx/astwro/issues
FAQs
Astro tools
We found that astwro 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.