Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
50cc734
fix issue with __expand in ebf due to binary vs. string formats
Jun 27, 2024
2e486f8
start synthpop testing/example
Nov 1, 2024
e98f934
allow for non-access to spisea git
Nov 5, 2024
a913670
temporarily remove sythpop tutorial
hustonm Nov 14, 2024
e634a9b
restore synthpop tutorial in progress
hustonm Nov 14, 2024
ba252c0
add support for SDSS filters
nsabrams Jan 4, 2025
856b5c4
switch einstein_radius to use astropy constants
nsabrams Jan 4, 2025
6891dcd
make einstein radius more precise
nsabrams Feb 25, 2025
71c6205
adding rubin transformations
SRemulla May 29, 2025
e2bf1e5
switch to astropy builtin ephem for bagle
nsabrams Jul 9, 2025
516fa46
generated ubv to rubin + roman grids
SRemulla Jul 15, 2025
d1b6eab
switched ukirt to ubv when indexing in synthetic
SRemulla Jul 18, 2025
609a36e
tweaks for synthpop compatibility
Jul 22, 2025
ce9d09c
wrote required filters exceptions for transform_ubv_to_rubin
SRemulla Jul 22, 2025
14b2254
correcting roman filt list to include wfi
SRemulla Jul 22, 2025
09795f3
synthpop compatibility progress / tutorial needs cleanup
Jul 23, 2025
d505aba
Merge pull request #66 from jluastro/add_rubin_roman
SRemulla Jul 24, 2025
5ce9575
fixed binary black hole separation function
nsabrams Jul 24, 2025
820bc1b
Merge branch 'dev' of github.com:jluastro/PopSyCLE into dev
nsabrams Jul 24, 2025
fb796e4
add asserts to make sure companion table matches number of recorded p…
nsabrams Jul 28, 2025
eb91d14
fix nonetype issue
nsabrams Jul 28, 2025
1bf8c95
add lock to isochrone generation
nsabrams Jul 28, 2025
890aa0d
another assert bugfix
nsabrams Jul 28, 2025
f5ca254
fixed rubin y transformation bugs in synthetic
SRemulla Aug 4, 2025
d964761
added filter_dict option to check_refine_events
SRemulla Aug 6, 2025
f5eb75c
changed refine_events to use dictionary for photometric systems and f…
SRemulla Aug 6, 2025
715ec0a
corrected refine_events .fits file name
SRemulla Aug 7, 2025
8735e98
fixed more bugs pertaining to rubin y band transform in synthetic
SRemulla Aug 7, 2025
9f9be08
restored option for single band in refine events
SRemulla Aug 7, 2025
8fe9d50
working synthpopsycle notebook
Aug 8, 2025
bd01474
update w/ kicks added to SynthPop
Aug 13, 2025
fe0500d
clean up file names
hustonm Aug 13, 2025
5db9763
updated docstring for refine_events
SRemulla Aug 15, 2025
fc161e9
updated tutorials with filter_dict
SRemulla Aug 15, 2025
79a83d2
updated test_synthetic with filter_dict
SRemulla Aug 15, 2025
aa8052f
fixed small format issues
SRemulla Aug 18, 2025
00fbf8f
added clarity for generating config file with filter_dict
SRemulla Aug 19, 2025
238e909
deleted forgotten placeholder
SRemulla Aug 19, 2025
c201bb2
fixing typos withink refine_binary_events
SRemulla Aug 19, 2025
418b692
fixing typos
SRemulla Aug 19, 2025
5367f44
added warning when filter_name and photometric_system are used
SRemulla Aug 21, 2025
3584617
fixed generate_slurm_scripts to handle filter_dict
SRemulla Sep 2, 2025
f7cd6b3
added filter_dict header to refine_events .fits file, also replaced p…
SRemulla Sep 2, 2025
43ce2ec
clean up make_bhs_single
nsabrams Sep 8, 2025
6df4c46
added make_bhs_single to run.py
nsabrams Sep 8, 2025
b9f4c34
fixed typos in bbh run.py
nsabrams Sep 8, 2025
a390ec0
fixed another typo
nsabrams Sep 8, 2025
f361ea2
fixed more typos
nsabrams Sep 8, 2025
ae9835b
updated run.py to use multifilt in refine_events file name
SRemulla Sep 9, 2025
777f90f
changed refine_events out file to use multifilt instead of photometri…
SRemulla Sep 9, 2025
111fcf1
Merge pull request #68 from jluastro/multiband_refine_events
SRemulla Sep 9, 2025
0b1689c
fix coordinate typo
Sep 9, 2025
777345e
updated make_bhs_single for additional_photometric_filters
SRemulla Sep 18, 2025
bae652c
Merge branch 'dev' into synthpop
nsabrams Sep 18, 2025
f6f0f45
Merge pull request #67 from jluastro/synthpop
nsabrams Sep 18, 2025
5b352be
checks bh is a multiple before it breaks them up
nsabrams Sep 30, 2025
7520083
merge with bh bug fix
SRemulla Sep 30, 2025
f2c11a0
fixing single filter utility in run.py
SRemulla Sep 30, 2025
2e813c2
fixed typo romann
SRemulla Sep 30, 2025
c735f33
moved making filt dict to phot_utils and changed w146 to f146
nsabrams Sep 30, 2025
3c9a46f
comment out recompute isochrones since was fixed by Macy in SPISEA
nsabrams Oct 1, 2025
5c9ecbc
removed old check for recomping isochrones
nsabrams Oct 1, 2025
fbd0acf
updating slurm script to use parallel hdf5
SRemulla Oct 4, 2025
eb9810e
update mult and CO frac tests with new numpy seed likely
nsabrams Oct 7, 2025
03d64b0
fixed bug with single bhs
nsabrams Oct 8, 2025
4281317
refactor of refine binary events with Alina Hussain changes, includin…
nsabrams Oct 9, 2025
a790f78
marked broken tests as xfail. Must point to new events and functions
nsabrams Oct 9, 2025
18c03ce
Merge branch 'dev' of github.com:jluastro/PopSyCLE into dev
nsabrams Oct 9, 2025
891a8da
fixed rbe if filt_dict is longer than 1
nsabrams Oct 13, 2025
a7ff0be
turned off warnings about long fits headers
nsabrams Oct 13, 2025
dbc3c9d
fixed import
nsabrams Oct 13, 2025
38664e8
fixed rbe fits header loading to work on supercomputers
nsabrams Oct 13, 2025
a695b89
account for rare possiblity of eccentricity anomoly failing to conver…
nsabrams Oct 13, 2025
3531fba
update documentation
nsabrams Oct 17, 2025
e4c3a54
more doc updates
nsabrams Oct 17, 2025
c465a6d
more doc updates
nsabrams Oct 17, 2025
9b0da8a
more doc updates
nsabrams Oct 17, 2025
b52a86f
more doc updates
nsabrams Oct 17, 2025
41e1a21
more doc updates
nsabrams Oct 17, 2025
4d45687
updated _return_filename_dict for multi filt
SRemulla Oct 24, 2025
4662bda
fixed issue where perform_pop_syn generated unwanted filters
SRemulla Oct 24, 2025
8cc2bd0
fixed filename_dict within generate_slurm_config
SRemulla Oct 25, 2025
c6db60d
fix additional phot systems in make_bhs_single
nsabrams Oct 27, 2025
400fd13
update synthpop tutorial for filter_dict
Oct 31, 2025
381c723
nothing much
jluastro Dec 1, 2025
d19bc31
Merging
jluastro Dec 1, 2025
0aa765e
old changes
jluastro Dec 2, 2025
0c13a3d
merging
jluastro Dec 2, 2025
59d6c84
useful table utilities
jluastro Dec 3, 2025
adc9f3f
merging
jluastro Dec 3, 2025
63980fc
added ability to return param dicts and names
nsabrams Dec 3, 2025
e5c472e
fixed merge conflicts
nsabrams Dec 3, 2025
830574c
moved cut_Mruns to table utils
nsabrams Dec 3, 2025
3480620
added functions to combine output tables
nsabrams Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/PopSyCLE_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
"source": [
"# Photometry\n",
"\n",
"This is the last thing, where you choose the photometric band for the observations and the reddening law.\n",
"This is the last thing, where you choose the photometric band or bands for the observations and the reddening law.\n",
"The final file of microlensing events is produced here as a .fits file."
]
},
Expand All @@ -442,8 +442,7 @@
],
"source": [
"synthetic.refine_events(input_root = 'example', \n",
" filter_name = 'I',\n",
" photometric_system = 'ubv',\n",
" filter_dict={'ubv':['I']},\n",
" red_law = 'Damineli16', \n",
" overwrite = False, \n",
" output_file = 'default')"
Expand Down
23 changes: 11 additions & 12 deletions docs/PopSyCLE_example_multiples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"source": [
"import warnings\n",
"warnings.filterwarnings('ignore')\n",
"from popsycle import synthetic, utils, binary_utils\n",
"from popsycle import synthetic, utils, binary_utils, table_utils\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from astropy.table import Table\n",
Expand Down Expand Up @@ -831,7 +831,7 @@
"source": [
"# Photometry\n",
"\n",
"In refine_events you specify a photometric band for the observations and the reddening law.\n",
"In refine_events you specify a photometric band or bands for the observations and the reddening law.\n",
"The final file of microlensing events is produced here as a .fits file.\n",
"To include multiples you must specify the hdf5 companion file."
]
Expand Down Expand Up @@ -860,8 +860,7 @@
"source": [
"synthetic.refine_events(input_root = 'example',\n",
" hdf5_file_comp = 'example_companions.h5',\n",
" filter_name = 'I',\n",
" photometric_system = 'ubv',\n",
" filter_dict={'ubv':['I']},\n",
" red_law = 'Damineli16', \n",
" overwrite = False, \n",
" output_file = 'default')"
Expand Down Expand Up @@ -1172,14 +1171,14 @@
"metadata": {},
"outputs": [],
"source": [
"t_cut, t_cut_one_peak, t_multiples_cut_multi_peak = binary_utils.cut_Mruns(t, \n",
" t_companions, \n",
" t_peaks, \n",
" min_mag = 22, \n",
" delta_m_cut = 0.1, \n",
" u0_cut = 2, \n",
" ubv_filter = 'I', \n",
" S_LSN = 'S')"
"t_cut, t_cut_one_peak, t_multiples_cut_multi_peak = table_utils.cut_Mruns(t, \n",
" t_companions, \n",
" t_peaks, \n",
" min_mag = 22, \n",
" delta_m_cut = 0.1, \n",
" u0_cut = 2, \n",
" ubv_filter = 'I', \n",
" S_LSN = 'S')"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions docs/PopSyCLE_example_run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
" bin_edges_number=None,\n",
" BH_kick_speed_mean=50,\n",
" NS_kick_speed_mean=400,\n",
" photometric_system='ubv',\n",
" filter_name='R',\n",
" filter_dict={'ubv':['R']},\n",
" red_law='Damineli16',\n",
" multiplicity=None,\n",
" galaxia_galaxy_model_filename= '/g/lu/code/galaxia/docs/galaxyModelParams_PopSyCLEv3.txt')"
Expand Down
5 changes: 2 additions & 3 deletions docs/PopSyCLE_example_slurm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
" n_cores_per_node=64,\n",
" n_nodes_max=3072,\n",
" walltime_max=24,\n",
" additional_lines=['module load cray-hdf5/1.10.5.2', 'export HDF5_USE_FILE_LOCKING=FALSE'])"
" additional_lines=['module load cray-hdf5-parallel', 'export HDF5_USE_FILE_LOCKING=FALSE'])"
]
},
{
Expand Down Expand Up @@ -78,8 +78,7 @@
" bin_edges_number=None,\n",
" BH_kick_speed_mean=50,\n",
" NS_kick_speed_mean=400,\n",
" photometric_system='ubv',\n",
" filter_name='r',\n",
" filter_dict={'ubv':['R']},\n",
" red_law='Damineli16',\n",
" multiplicity=None)"
]
Expand Down
Loading