[ascl:2206.005]
NonnegMFPy: Nonnegative Matrix Factorization with heteroscedastic uncertainties and missing data
NonnegMFPy solves nonnegative matrix factorization (NMF) given a dataset with heteroscedastic uncertainties and missing data with a vectorized multiplicative update rule; this can be used create a mask and iterate the process to exclude certain new data by updating the mask. The code can work on multi-dimensional data, such as images, if the data are first flattened to 1D.
[ascl:2203.025]
SetCoverPy: A heuristic solver for the set cover problem
SetCoverPy finds an (near-)optimal solution to the set cover problem (SCP) as fast as possible. It employs an iterative heuristic approximation method, combining the greedy and Lagrangian relaxation algorithms. It also includes a few useful tools for a quick chi-squared fitting given two vectors with measurement errors.
[ascl:2511.008]
redmonster: Automated redshift measurement and spectral classification
Hutchinson, Timothy A.;
Bolton, Adam S.;
Dawson, Kyle S.;
Allende Prieto, Carlos;
Bailey, Stephen;
Bautista, Julian E.;
Brownstein, Joel R.;
Conroy, Charlie;
Guy, Julien;
Myers, Adam D.;
Newman, Jeffrey A.;
Prakash, Abhishek;
Carnero-Rosell, Aurelio;
Seo, Hee-Jong;
Tojeiro, Rita;
Vivek, M.;
Ben Zhu, Guangtun
redmonster performs automated redshift measurement, physical‑parameter estimation, and spectral classification of 1D astronomical spectra. This set of Python utilities outputs the best‑fit model, redshift, classification, and derived parameters in standard formats for downstream analysis. The repository includes templates, configuration files, and documentation to enable flexible redshift and parameter estimation workflows.