Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
progenitor-probability
Advanced tools
Returns the joint progenitor probability (probability that a galaxy is a spheroid at z=0) for a given redshift, mass, environment (percentile) and star-formation rate.
tabulate_progenitor_probability.py
Martin et al. 2018a, Martin, G., Kaviraj, S., Devriendt J. E. G., Dubois Y., Pichon C. and Laigle C., MNRAS, 474, 3140
Reads fractions.dat
binary file and returns the joint progenitor probability for given redshift, mass, environment (percentile) and star-formation rate (i.e. the probability that a galaxy with given properties has spheroidal morphology at z=0). If one or more dimensions are not specified, the joint progenitor probability is returned with missing dimensions marginalised out.
fractions.dat
pip install progenitor-probability
tabulate_progenitor_probability.py -z 0.4 -m 10.8
0.266751184855
tabulate_progenitor_probability.py --help
usage: tabulate_progenitor_probability.py [-h] [-z REDSHIFT] [-m MASS]
[-p DENSITY] [-s SFR]
optional arguments:
-h, --help show this help message and exit
-z REDSHIFT, --redshift REDSHIFT
Redshift
-m MASS, --mass MASS Log10 stellar mass/M_sun
-p DENSITY, --density DENSITY
Local number density percentile [0,100]
-s SFR, --SFR SFR SFR in M_sun/yr
-z redshift
-m log10(stellar mass / Msun)
-p percentile of local number density in the range [0,100] (see Martin et al. 2018a)
-s star formation rate in Msun/yr
from progenitor_probability import progenitor_probability
>>> progenitor_probability(redshift=0.4, mass=10.8)
0.266751184855
FAQs
Returns the joint progenitor probability (probability that a galaxy is a spheroid at z=0) for a given redshift, mass, environment (percentile) and star-formation rate.
We found that progenitor-probability 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.