Skip to content

Releases: synthpop-galaxy/synthpop

v1.1.1

06 Oct 20:44
9470c04

Choose a tag to compare

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

20 Aug 20:11
7951938

Choose a tag to compare

User interface and requirement changes:

  • The configuration keyword col_names has 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 the RenameColumns post-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 using RenameColumns last so that no issues arise in other post-processing modules. Default configurations huston2025_defaults.synthpop_conf and _default.synthpop_conf have been updated accordingly.
  • We have replaced the use of ebfpy with h5py, changing the code requirements.

Post-processing module updates:

  • The ProcessDarkCompactObjects module in previous versions contained a bug for the SukhboldN20 and Raithel18 IFMR options where some neutron stars were incorrectly assigned to be white dwarfs. This has been resolved.
  • The ProcessDarkCompactObjects module 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 ProcessDarkCompactObjects module now notes compact object type in the phase output column, using 101 for white dwarfs, 102 for neutron stars, and 103 for black holes. The Dim_Compact_Object_Flag column has been eliminated.
  • The GullsPostProcessing module has been modified to be consistent with the changes to col_names described above.
  • A new PopsyclePostProcessing module 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_3D module has been renamed to Galaxia_3d for simplicity in SynthPop's module loader.
  • The extinction map files required for use in the Galaxia_3d and Surot extinction 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 some numpy versions.

Other minor changes:

  • The calculation of vr_lsr has been moved from Population to CoordinatesTransformation in order to be adaptable to a modified solar frame.

v1.0.5

18 Jul 21:39
658fe54

Choose a tag to compare

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
  1. 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

04 Jun 17:57
5ec494c

Choose a tag to compare

Minor bug fixes/improvements:

  • Fix edge-case bugs in lost_mass_option=3 star generation process (@hustonm)
  • Only collect needed effective wavelengths from json file to de-clutter configurations/logs (@hustonm)
  • Change fill value to 99 for missing Mbol values in GULLS post-processing (@acrisp3)

v1.0.3

16 May 18:18
2258ce1

Choose a tag to compare

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

24 Apr 21:16
b30355f

Choose a tag to compare

Small patches:

  • Debugged Besancon 2003 kinematic module (catalog output not affected)
  • Finalized huston2025_defaults.synthpop_conf model configuration

v1.0.1

17 Apr 00:42
e269f3e

Choose a tag to compare

Small patches: debugged Surot extinction model data handling and 3-d projection. automated other extinction file downloading.

SynthPop Version 1

02 Apr 22:44
32587fe

Choose a tag to compare

release with SynthPop paper I publication