System Mass - now the system mass is the current mass instead of a mix of initial and current masses (SPISEA companions had been initial mass)
System luminosity - now the magnitudes are system magnitudes instead of primary magnitudes for stars and system magnitude for compact objects
Mass ratio - now the zams mass ratio (companion zams mass/primary zams mass) is capped at 1
This was implemented with an algorithmic change to perform_pop_syn. In addition to re-probing the KDTree when there are duplicates, we also reprobe the tree when the SPISEA star is more than 20% larger than the galaxia star is being matched with. After a number of iterations, those that can't be matched are dropped, which is only a few.
Skips clusters < 80 Msun instead of < 100 Msun
Added option to not bin hdf5 file (intended for very small patches or nearby objects)
Increased minimum mass of star generated to 0.11 Msun to accommodate isochrones
In refine_events:
Added support for legacy files with lowercase filter names
Changed phi convention in binaries to match BAGLE
Added seed support
In refine_binary events:
Parallelized
Simulate lightcurves for BSBL and BSPL events
Point to BAGLE models with primary center, as PopSyCLE gives it
Store all lightcurves generated in lightcurves.fits file
Changed script to still find parameters if delta m < 0.1
Fixed l, b mix up
Tests:
Implemented pytest
Overhauled test suite
Utils:
Added util to remove nan companions (low mass objects in old populations with high metallicity)
In perform pop syn:
In refine_events:
In refine_binary events:
Tests:
Utils:
Misc: