Releases: synthpop-galaxy/synthpop
v1.1.1
Two bug fixes:
- Koshimoto bulge kinematic model: bug fix in handling of solid body motion versus triaxial streaming motion. This primarily impacts radial velocities and has a small impact on proper motion in the Galactic l-direction as one goes to higher |l|. One may use the RecalculateKinematics module to resolve this issue in existing catalogs.(@hustonm & @acrisp3)
- PopSyCLE post-processing: removal of hard-coded column number for extinction handling. (@hustonm)
v1.1.0
User interface and requirement changes:
- The configuration keyword
col_nameshas been removed in order to avoid issues with inconsistent naming in post-processing. Instead, a user can change their non-magnitude isochrone property column names via theRenameColumnspost-processing module. If multiple post-processing modules are given, they will be executed in the order they are provided in the configuration. Thus, we recommend usingRenameColumnslast so that no issues arise in other post-processing modules. Default configurationshuston2025_defaults.synthpop_confand_default.synthpop_confhave been updated accordingly. - We have replaced the use of
ebfpywithh5py, changing the code requirements.
Post-processing module updates:
- The
ProcessDarkCompactObjectsmodule in previous versions contained a bug for theSukhboldN20andRaithel18IFMR options where some neutron stars were incorrectly assigned to be white dwarfs. This has been resolved. - The
ProcessDarkCompactObjectsmodule now includes the option to add natal kicks, which is off by default. A user may provide a mean kick velocity for neutron stars and one for black holes. Kick directions are drawn randomly from a uniform sphere, and kick magnitudes are drawn from a Maxwellian distribution around the input mean kick velocities in km/s. - The
ProcessDarkCompactObjectsmodule now notes compact object type in thephaseoutput column, using 101 for white dwarfs, 102 for neutron stars, and 103 for black holes. TheDim_Compact_Object_Flagcolumn has been eliminated. - The
GullsPostProcessingmodule has been modified to be consistent with the changes tocol_namesdescribed above. - A new
PopsyclePostProcessingmodule has been added to output a star catalog in a format compatible with the PopSyCLE microlensing survey simulator. Details in the module explain configuration requirements for compatibility.
Extinction module updates:
- The
Galaxia_3Dmodule has been renamed toGalaxia_3dfor simplicity in SynthPop's module loader. - The extinction map files required for use in the
Galaxia_3dandSurotextinction modules are now stored via LSU Box in .h5 format for ease of automated download and loading and to eliminate the use of .ebf files, which raised issues for somenumpyversions.
Other minor changes:
- The calculation of
vr_lsrhas been moved fromPopulationtoCoordinatesTransformationin order to be adaptable to a modified solar frame.
v1.0.5
Significant change - debugging of Koshimoto2021Bulge model:
- Coordinate system inconsistency fixed
- Postprocessing module RecalculateKinematics added in order to regenerate correct kinematics for existing catalogs
Any catalogs generated using that module prior to SynthPop v1.0.5 needs to be corrected for kinematics to be reliable. In the direction of the Galactic bulge, the issue primarily effects radial velocities, with a minimal impact on proper motions, as it is primarily related to the U velocity component.
Example code to run the kinematics model correction is shown below.
You'll need to reload your original model configuration1 with the new post_processing module added, initialize it, then run each catalog through the post_processing function. Note that the pop_ids variable can be set to that of the bulge or excluded to rerun all populations' kinematics.
model = sp.SynthPop(default_config='huston2025_defaults.synthpop_conf',
post_processing_kwargs={"name":"recalculate_kinematics", "pop_ids":[0]})
model.init_populations()
for f in file_list:
df = pandas.read_csv(f)
df = model.post_processing(df)
df.to_csv(f)
Minor changes:
- New postprocessing module EquatorialCoordinates to convert from l,b to RA,Dec, with the option of keeping both
- Small documentation cleanup
-
The configuration doesn't need to be identical; the key is that it needs to load the correct coordinate transformations and kinematic modules. There's no need to worry about non-kinematic factors like magnitude cuts or extinction. ↩
v1.0.4
v1.0.3
Minor bug fixes/improvements:
- Cleaned up GULLS post-processing module to prep SynthPop catalogs for GULLS microlensing simulator (@acrisp3)
- New post-processing module: Blending, which computes blended mag within selected blend radius for selected filters (@hustonm)
- Fixed bug in Surot extinction module, where 3-d extinction map could not handle distances <10pc and >30kpc. Now applies 0 extinction at distance<10pc and applies extinction value at 30kpc for distance>30kpc. (@hustonm)
- Updated tutorial for new configuration (@hustonm)
- Added ebfpy to requirements, which is used by some extinction map modules (@hustonm)
- Addressed futurewarnings for Pandas 3.0 (@hustonm)
v1.0.2
v1.0.1
SynthPop Version 1
release with SynthPop paper I publication