Skip to content
Open

Pbh #22

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
a4cee4b
basic structure for pbh func. to run and synthetic.py
Jan 29, 2020
2e75aa0
Added .csv file, edited run.py and synthetic.py to include PBHs
Kerianne28 Jan 31, 2020
00002f3
small bug fixes and typo fixes
Kerianne28 Feb 4, 2020
42f110e
Fixed comments
Kerianne28 Feb 5, 2020
ce3bd67
fixed comments
Kerianne28 Feb 5, 2020
db6b3e5
moved ang_dist, added pbh to generate_slurm, minor fixes
Kerianne28 Feb 5, 2020
873355f
fixed some pbh_config_filename issues
Kerianne28 Feb 6, 2020
edb5740
typo fix
Kerianne28 Feb 6, 2020
cd6bbdf
Changed way PBH velocities are calculated
Kerianne28 Feb 14, 2020
16dbb1f
Delete radial_velocity_dispersion_digitized.csv
Kerianne28 Feb 14, 2020
744c8c7
Add files via upload
Kerianne28 Feb 21, 2020
c94c6a5
Delete blue_line.csv
Kerianne28 Feb 21, 2020
b637a4e
Delete green_line.csv
Kerianne28 Feb 21, 2020
2aa1532
Delete red_line.csv
Kerianne28 Feb 21, 2020
4879bb0
Add files via upload
Kerianne28 Feb 21, 2020
eac81b3
Rename inner_slop_half.csv to inner_slope_half.csv
Kerianne28 Feb 21, 2020
352ac83
Delete inner_slope_half.csv
Kerianne28 Feb 22, 2020
0f82f8a
Delete inner_slope_one.csv
Kerianne28 Feb 22, 2020
b3bf9f0
Delete inner_slope_quarter.csv
Kerianne28 Feb 22, 2020
9a31928
Add files via upload
Kerianne28 Feb 22, 2020
445304c
Add files via upload
Kerianne28 Feb 22, 2020
2393aad
gave default values to arguments in add_pbh, minor fixes
Kerianne28 Feb 22, 2020
d2b6905
minor fixes
Kerianne28 Feb 28, 2020
919d0d3
added inner_slope and v_esc
Kerianne28 Feb 28, 2020
6e15bc4
minor fixes
Kerianne28 Feb 28, 2020
ebc955f
fixed hdf5 writing, various changes as requested on pull request
Kerianne28 Feb 28, 2020
ac506b1
Deleted default values in generate_pbh_config_file
Kerianne28 Feb 29, 2020
6fa79e1
Merge branch 'master' into pbh
MichaelMedford Feb 29, 2020
e43227f
updating files
Kerianne28 Mar 4, 2020
0de174b
Merge branch 'master' into pbh
MichaelMedford Mar 4, 2020
562191b
migrate changes from synthetic.py to run.py
MichaelMedford Mar 4, 2020
cd12870
change run.py to output files with _pbh if add_pbh is run
MichaelMedford Mar 4, 2020
ff69b49
add safety check for input and output hdf5 files
MichaelMedford Mar 4, 2020
d680da4
add safety check for input and output hdf5 files
MichaelMedford Mar 4, 2020
67caa8c
commented out broken code
MichaelMedford Mar 4, 2020
d5a2393
reformat
MichaelMedford Mar 4, 2020
6d00c9a
reformat
MichaelMedford Mar 4, 2020
6955ed3
correct documentation
MichaelMedford Mar 6, 2020
e2ec7fa
working version of updated hdf5 file format
MichaelMedford Mar 6, 2020
d9dee2f
pass data through to pbh_hdf5_file
MichaelMedford Mar 6, 2020
2b126e8
WIP commit: updated with new method for determining positions, workin…
Kerianne28 Mar 13, 2020
2825cc1
removed r_vir and c. Added r_s. Changed dafault values.
Kerianne28 Mar 13, 2020
a53a72f
read_ind by groups of continuous indices
MichaelMedford Mar 13, 2020
a4a2ae5
rename some variables
MichaelMedford Mar 13, 2020
920a285
Fixed issue with binning PBHs and getting correct totals
Kerianne28 Mar 13, 2020
d10024a
attempt to move kdtree for comp objects outside of random loop
MichaelMedford Mar 15, 2020
5f45c2e
del variables
MichaelMedford Mar 15, 2020
d4d9eef
up num_kdtree_samples to 2e6
MichaelMedford Mar 16, 2020
1b53e23
assign comp exbv by star_exbv indices
MichaelMedford Mar 16, 2020
0e45735
set kdt_star_exbv to None as default
MichaelMedford Mar 17, 2020
34bb753
few small fixes
Kerianne28 Mar 17, 2020
d59a44b
corrected parameters for add_pbh
Kerianne28 Mar 17, 2020
5d0b0a4
updated r_max value/documentation
Kerianne28 Mar 17, 2020
c718360
Merge branch 'master' into pbh
MichaelMedford Mar 17, 2020
7ec435b
correct load_config_file
MichaelMedford Mar 17, 2020
0b322f6
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 18, 2020
38849f1
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 18, 2020
f891741
add comments on new arguments
MichaelMedford Mar 18, 2020
607817a
fix typo
MichaelMedford Mar 18, 2020
a7e9837
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 18, 2020
d91d26d
Merge branch 'master' into pbh
MichaelMedford Mar 18, 2020
871d623
add _check_add_pbh
MichaelMedford Mar 18, 2020
4163ac9
catch gamma not equal to .25, .5 or 1
MichaelMedford Mar 18, 2020
e740ae0
move functions to their own block
MichaelMedford Mar 18, 2020
27599b2
attempt to
MichaelMedford Mar 18, 2020
5ed3a79
set include_contraint to bool
MichaelMedford Mar 18, 2020
5d15e9b
set include_contraint to bool
MichaelMedford Mar 18, 2020
9f37613
change slurm_template header
MichaelMedford Mar 18, 2020
e59e529
fix typo
MichaelMedford Mar 18, 2020
519b478
fix typo
MichaelMedford Mar 18, 2020
e3e0824
Merge branch 'master' into pbh
MichaelMedford Mar 18, 2020
3f23d27
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 18, 2020
abbebd5
Merge branch 'pps_speed_up' into pbh
MichaelMedford Mar 18, 2020
09e6766
changed file permissions
Mar 18, 2020
45d2b1c
Merge branch 'pbh' of https://github.com/jluastro/PopSyCLE into pbh
Mar 18, 2020
efca8b7
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 20, 2020
31e319d
Merge branch 'master' into pbh
MichaelMedford Mar 20, 2020
9d75e4c
add comments to read_ind
MichaelMedford Mar 20, 2020
461827c
change name of kdt_star_exbv to exbv_arr4kdt
MichaelMedford Mar 20, 2020
f24ad2c
add comments
MichaelMedford Mar 20, 2020
f8f4353
add comments
MichaelMedford Mar 20, 2020
208481a
change spacing
MichaelMedford Mar 20, 2020
d4c37de
Merge branch 'master' into pbh
MichaelMedford Mar 20, 2020
a484820
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 20, 2020
027ab3f
Merge branch 'master' into pps_speed_up
MichaelMedford Mar 21, 2020
3cd0bc5
remove PBHs from h5 file before adding in new ones
MichaelMedford Mar 23, 2020
c2d768d
overwrite hdf5 file in add_pbh, unless new_output_root provided
MichaelMedford Mar 23, 2020
7134bdd
fix run.py to work with new add_pbh new_output_root scheme
MichaelMedford Mar 23, 2020
aa6e548
include runtime of galaxia
MichaelMedford Mar 23, 2020
61d5fd8
remove redundant title
MichaelMedford Mar 23, 2020
07e2dce
fix typo
MichaelMedford Mar 23, 2020
0424065
change run time to runtime
MichaelMedford Mar 23, 2020
9bad7e0
propagate add_pbh data in hdf5
MichaelMedford Mar 23, 2020
aed4d2f
add ztf-i, check for existence of objects before appended to max_id_n…
MichaelMedford Mar 23, 2020
321571b
check to see if certain fields are in hdf5_dset_names before appendin…
MichaelMedford Mar 23, 2020
d50144e
correct construction of lat_long_list
MichaelMedford Mar 24, 2020
5419810
uniform runtime statements, generate add_pbh log
MichaelMedford Mar 24, 2020
71d401f
add seed to perform_pop_syn log
MichaelMedford Mar 24, 2020
639d6a9
change microlens hash in logs to popsycle hash
MichaelMedford Mar 24, 2020
6c85287
change example notebook back
MichaelMedford Mar 24, 2020
5c7e6cf
move bool on slurm_config to below check
MichaelMedford Mar 24, 2020
66a1ea6
remove pandas dependency
MichaelMedford Mar 24, 2020
7db1b1f
Merge branch 'master' into pbh
MichaelMedford Mar 24, 2020
cabbbee
remove extraneous imports
MichaelMedford Mar 24, 2020
5a4f917
Merge branch 'master' into pbh
Mar 24, 2020
1c81ebe
enforce pbh_config_filename as absolute path
MichaelMedford Mar 24, 2020
23ca397
enforce pbh_config_filename as absolute path
MichaelMedford Mar 24, 2020
bc79812
force pbh_r_galacto.value
MichaelMedford Mar 25, 2020
8584a55
Added a flag for diagnostic plots
Kerianne28 Mar 26, 2020
e8dfdf8
removed diagnostic_plots
Kerianne28 Mar 26, 2020
da1edb8
fixed errors/typos with diagnostic_plots
Kerianne28 Mar 26, 2020
a3afc22
close all figs
MichaelMedford Mar 26, 2020
3b2f688
pass diagnostic_plots=True to _check_add_pbh
MichaelMedford Mar 26, 2020
3910c6d
select galaxia_exe in run_galaxia
MichaelMedford Apr 3, 2020
2ed41e0
attempt setting galaxia_exe in slurm scripts
MichaelMedford Apr 3, 2020
88a4f0e
check galaxia_exe in generate_slurm_script
MichaelMedford Apr 3, 2020
e9c9ef7
Merge branch 'master' into pps_speed_up
MichaelMedford Apr 4, 2020
b42730e
Merge branch 'pps_speed_up' into galaxia_params
MichaelMedford Apr 4, 2020
f3693f9
add in t0
MichaelMedford Apr 4, 2020
97b2a7e
run which on galaxia_exe instead of galaxia
MichaelMedford Apr 4, 2020
c3ca709
switch from galaxia_exe to galaxia_galaxy_model_filename
MichaelMedford Apr 7, 2020
9a2baa9
remove redundant cd
MichaelMedford Apr 7, 2020
283bfdb
Merge branch 'galaxia_params' into pbh
MichaelMedford Apr 7, 2020
8cf3aac
fix typo
MichaelMedford Apr 7, 2020
264a5ce
add comments
MichaelMedford Apr 7, 2020
d09a447
propagate diagnostic_plots from pbh_config.yaml to run.py
MichaelMedford Apr 9, 2020
f25585c
enforce abs.path for isochrones_dir and galaxia_galaxy_model_filename
MichaelMedford Apr 9, 2020
6aa8458
Merge branch 'galaxia_params' into pbh
MichaelMedford Apr 9, 2020
bf875a0
move add_pbh runtime print to last statement
MichaelMedford Apr 9, 2020
6a8e462
propagate diagnostic_plots to add_pbh REALLY
MichaelMedford Apr 9, 2020
34892ee
correct closing figures in add_pbh_plots
MichaelMedford Apr 9, 2020
6447c0c
add diagnostic_plots to log
MichaelMedford Apr 9, 2020
c6c7a6b
still generate log from calc_events if no events
MichaelMedford May 5, 2020
74616fa
still generate log from refine_events if no events
MichaelMedford May 5, 2020
9456d4c
fix typo
MichaelMedford May 5, 2020
aa329f0
fix typo
MichaelMedford May 5, 2020
2303a77
removed hardcoded n_lin
Kerianne28 May 5, 2020
a1422d1
Hard coded n_lin
Kerianne28 May 5, 2020
43e8dd2
fixed indentation
Kerianne28 May 7, 2020
21e33d9
removed un-needed if statement
Kerianne28 May 7, 2020
6c4b46b
removed n_lin from output log
Kerianne28 May 7, 2020
a656cd4
force use of Agg backend
MichaelMedford May 14, 2020
8be4898
force use of PDF backend
MichaelMedford May 14, 2020
dfb0f18
test srun_options
MichaelMedford May 20, 2020
3441362
fix typo
MichaelMedford May 20, 2020
6fed659
include srun_options in generate_slurm_config_file
MichaelMedford May 20, 2020
018af97
rename docstring
MichaelMedford May 20, 2020
aa4ca0e
Velocity bug fix and code cleanup
Kerianne28 Sep 18, 2022
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: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ PopSyCLE

Dependencies
------------
`Galaxia <http://galaxia.sourceforge.net>`_
`galaxia <http://galaxia.sourceforge.net>`_
PopSyCLE requires a custom version of galaxia in order to support
user selected galaxy models. Please follow the installation instructions
found at our galaxia GitHub repo: https://github.com/jluastro/galaxia_.

`PyPopStar <https://pypopstar.readthedocs.io/en/latest/>`_

Expand Down
189 changes: 189 additions & 0 deletions popsycle/add_pbh_plots.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
import matplotlib
matplotlib.use('PDF')
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.backends.backend_pdf import PdfPages

def print_plots(output_root, galactic_lin_distance, galactic_lin_b, galactic_lin_l, galactocen_lin_spherical_distance,
galactocen_lin_spherical_b, galactocen_lin_spherical_l, rho_lin, r_max, n_lin, cdf_los,
x_cyl, y_cyl, r_cyl, r_proj_los_cyl, n_pbh, d_galac, b_galac, l_galac, area_proj_los_cyl,
mask_obs_cone, field_of_view_radius, l_radian, b_radian, f_cdf_d, pbh_mass):

##################################################################################
#Line of Sight - Galactic Coordinates
##################################################################################
fig_arr = []
fig1, axs = plt.subplots(3, sharex=True, gridspec_kw={'hspace': 0}, figsize=(8,8))
fig_arr.append(fig1)
axs[0].plot(galactic_lin_distance, '.', label='Distance', c='C0')
axs[1].plot(galactic_lin_b, '.', label='Latitude',c='C1')
axs[2].plot(galactic_lin_l, '.', label='Longitude', c='C2')


plt.legend(loc='best')
# Hide x labels and tick labels for all but bottom plot.
for ax in axs:
ax.label_outer()
ax.legend(loc='upper left')

axs[0].set_title('Line of Sight Linear Space Galactic Coordinates')
axs[0].set_ylabel('[kpc]')

axs[1].set_ylabel('[deg]')

axs[2].set_ylabel('[deg]')
axs[2].set_xlabel('Line-of-Sight Linear Space Coordinate Index')

axs[0].set_ylim(0, axs[0].set_ylim()[1])

##################################################################################
#Line of Sight - Galactocentric Coordinates
##################################################################################
fig2, axs = plt.subplots(3, sharex=True, gridspec_kw={'hspace': 0}, figsize=(8,8))
fig_arr.append(fig2)
axs[0].plot(galactic_lin_distance,
galactocen_lin_spherical_distance, '.', label='Distance', c='C0')
axs[1].plot(galactic_lin_distance,
galactocen_lin_spherical_b, '.', label='Latitude', c='C1')
axs[2].plot(galactic_lin_distance,
galactocen_lin_spherical_l, '.', label='Longitude',c='C2')

plt.legend(loc='best')
# Hide x labels and tick labels for all but bottom plot.
for ax in axs:
ax.label_outer()
ax.legend(loc='upper left')

axs[0].set_title('Line of Sight Linear Space\nGalactocentric Coordinates')
axs[0].set_ylabel('[kpc]')

axs[1].set_ylabel('[deg]')

axs[2].set_ylabel('[deg]')
axs[2].set_xlabel('Galactic Coordinate Distance [kpc]')

axs[0].set_ylim(0, axs[0].set_ylim()[1])

##################################################################################
#Denisty along Line of Sight
##################################################################################
fig3, (ax1, ax2) = plt.subplots(1, 2, figsize=(9,4),
sharey=True, gridspec_kw={'wspace': 0})
fig_arr.append(fig3)
#
ax1.semilogy(galactic_lin_distance,
rho_lin, '.',c='k')
ax1.set_ylabel('DENSITY Msun*pc^-3')
ax1.set_xlabel('Galactic Coordinate Distance [kpc]')
ax1.set_xlim(0, ax1.set_xlim()[1])
ax2.semilogy(galactocen_lin_spherical_distance,
rho_lin, '.',c='k')
ax2.set_xlabel('Galactocentric Distance [kpc]')
ax2.set_xlim(0, ax2.set_xlim()[1])

plt.suptitle('Milky Way Density along Line-of-Sight')

##################################################################################
#Cumulative Projected Desnity
##################################################################################
fig4 = plt.figure(figsize=(10,7))
fig_arr.append(fig4)

plt.plot(galactic_lin_distance,
np.cumsum(rho_lin) * r_max / n_lin,
'.', label='Density',c='k')
plt.legend(loc='best')
plt.ylabel('Cumulative Projected Density} [M_sun*pc^{-2}]$')
plt.xlabel('Galactic Distance [kpc]')
plt.xlim(0, plt.xlim()[1])

##################################################################################
#Discrete CDF
##################################################################################
fig5 = plt.figure(figsize=(10,7))
fig_arr.append(fig5)
plt.plot(cdf_los, lw=3)
plt.ylabel('CDF')
plt.xlabel('Line-of-Sight Linear Space Coordinate Index')

##################################################################################
#Interpolated CDF
##################################################################################
fig6 = plt.figure(figsize=(10,7))
fig_arr.append(fig6)
x = np.linspace(0,1,100)
y = f_cdf_d(x)
plt.plot(y, x, lw=3)
plt.ylabel('CDF')
plt.xlabel('Galactic Coordinate Distance along LOS [kpc]')

##################################################################################
#Cylindrical distribution of PBHs
#Infered Radii Distribution
#Galactic Distance Distribution
##################################################################################
fig7, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(14,4))
fig_arr.append(fig7)
# Create a plot to look at the projected cylindrical distribution of PBH
ax1.plot(x_cyl * 1000, y_cyl * 1000, ',')
ax1.set_aspect('equal', 'datalim')
ax1.set_ylabel('Cylindrical LOS Samples l-axis [pc]')
ax1.set_xlabel('Cylindrical LOS Samples b-axis [pc]')
# Create a histogram of the infered radii to make sure that it shows the expected linear trend
bins = 20
ax2.hist(r_cyl * 1000, bins=bins, label='Sampled Number')
ax2.plot((0, r_proj_los_cyl * 1000), (0, 2 * n_pbh / bins), c='C2', label='Expected Number')
ax2.legend(loc='upper left')
ax2.set_ylabel('Number of PBH per LOS Cylindrical Annuli')
ax2.set_xlabel('Cylindrical Radius [pc]')

# Create a histogram of the galactic distance distribution
bins=100
n_per_bin, _, _ = ax3.hist(d_galac, bins=bins, label='Sampled Number')
ax3.plot(galactic_lin_distance,
rho_lin * area_proj_los_cyl / pbh_mass * r_max / bins * 1000**3,c='C2', label='Approximate Expectation')
ax3.legend(loc='best')
ax3.set_ylabel('Number of PBH')
ax3.set_xlabel('Galactic Distance [kpc]')

fig7.tight_layout(pad=2.0)

plt.suptitle('Distribution of PBHs in Cylindrical Line-of-Sight Tube (i.e. not light cone)')

##################################################################################
#Checking Light Cone Boundaries
##################################################################################
fig8, (ax1, ax2) = plt.subplots(2, 1, figsize=(5,8),
sharex=True, gridspec_kw={'hspace': 0})
fig_arr.append(fig8)
ax1.plot(d_galac[~mask_obs_cone], r_cyl[~mask_obs_cone] * 1000,
'.', alpha=0.1, label='Outside Light Cone')
ax1.plot(d_galac[mask_obs_cone], r_cyl[mask_obs_cone] * 1000,
'.', alpha=0.1, label='Inside Light Cone')
ax1.plot((0,r_max),
(0, field_of_view_radius * np.pi / 180 * r_max *1000),
label='Light Cone Boundry')
ax1.legend(loc='upper left')
ax1.set_ylabel('Radius on LOS Cylinder [pc]')

ax2.plot(d_galac[~mask_obs_cone], np.sqrt((l_galac[~mask_obs_cone] - l_radian)**2 +
(b_galac[~mask_obs_cone] - b_radian)**2) * 180/np.pi,
'.', alpha=0.1, label='Outside Light Cone' )
ax2.plot(d_galac[mask_obs_cone], np.sqrt((l_galac[mask_obs_cone] - l_radian)**2 +
(b_galac[mask_obs_cone] - b_radian)**2) * 180/np.pi,
'.', alpha=0.1, label='Inside Light Cone')
ax2.plot((0,r_max),
(field_of_view_radius, field_of_view_radius), label='Light Cone Boundry')
ax2.set_ylim(0,5*field_of_view_radius)
ax2.legend(loc='best')
ax2.set_ylabel('Field of View Radius [deg]')
ax2.set_xlabel('Galactic Coordinate Distance [kpc]')

##################################################################################
#Saving all plots to PDF
##################################################################################
pp = PdfPages(output_root+'_pbh_diagnostic_plots.pdf')
for fig in fig_arr:
pp.savefig(fig)
plt.close(fig)
pp.close()
1 change: 1 addition & 0 deletions popsycle/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def convert_h5_array_dtype_to_compound_dtype(hdf5_file):
hdf5_file_new = hdf5_file.replace('.h5', '.compound_dtype.h5')
f_in = h5py.File(hdf5_file, 'r')
f_out = h5py.File(hdf5_file_new, 'w')
f_out['add_pbh'] = False

# Looping over all of the datasets
for key in f_in:
Expand Down
9 changes: 9 additions & 0 deletions popsycle/data/pbh_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Example configuration parameters for PBHs

fdm: 1
pbh_mass: 40
r_max: 16.6
r_s: 18.6
gamma: 1
v_esc: 550
rho_0 : 0.0093
1 change: 1 addition & 0 deletions popsycle/data/popsycle_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ n_obs: 101
theta_frac: 2
blend_rad: 0.75
isochrones_dir: /Users/myself/popsycle_isochrones
galaxia_galaxy_model_filename: /Users/myself/galaxia_galaxy_model_filename
bin_edges_number: None
BH_kick_speed_mean: 50
NS_kick_speed_mean: 400
Expand Down
62 changes: 62 additions & 0 deletions popsycle/data/radial_velocity_profile_middle.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
r,v
0.010792642776929309, 111.71180517031452
0.012590321940393834, 118.88165941281024
0.014687431970009386, 126.54067684534101
0.01713384764066691, 134.0005466632754
0.01993184060733583, 142.11168012051704
0.023448011680987736, 150.78286434254127
0.027455988964315874, 159.3571491494456
0.03213404568533922, 168.4661816124074
0.03764430047370784, 177.73468233692108
0.043859894720648336, 186.54417763189218
0.05108586704256386, 196.01349797292718
0.05934511962521002, 204.67635482054385
0.07083192093472244, 215.1824749096273
0.08253367166054373, 223.90379647052103
0.09684442649610563, 232.571184061413
0.11350401149180162, 242.54850927105662
0.13427738741960332, 251.89354878059038
0.1586056689369005, 261.0497880274381
0.186179188876288, 269.5935014641335
0.21617856025114549, 276.95879153868964
0.2526914812832889, 283.38932791498735
0.2962593087128887, 290.36094394136614
0.35792137580603484, 297.77197612125576
0.4309060654759373, 304.89151975943804
0.5059594624841087, 309.244695083941
0.5778483816986392, 312.37804867591933
0.6816933312568133, 314.7048135621079
0.927699047785235, 320.24095532420716
1.0671697449159139, 319.8132280123578
1.4727675574625494, 314.96530138192946
1.7718422284532012, 311.9846498190986
2.1197411537756987, 307.83085241102907
2.4598627413134806, 301.78571980162417
2.8847016095688685, 295.5628794127563
3.369909155131431, 289.9952727173605
4.037236963747592, 283.1343596020251
4.820932000343341, 279.00220082094125
5.650248971118326, 275.5083826876096
6.703101332022676, 271.60158332331133
7.770476112914143, 265.4265828672343
9.096562802640236, 259.22858778705637
10.611733993556404, 252.9216664462353
12.3792800416127, 246.90957929498413
14.44123782613885, 240.62655413150787
16.846646109472406, 235.17599223163336
19.652711807301024, 229.3228663966612
22.766181747138315, 223.97434631744974
26.744873675700347, 218.17494681231219
31.068822348129252, 212.83026716581725
36.396415667350134, 206.61996451113927
43.05764653615527, 199.86831942509124
50.22955388134484, 193.3372953786207
58.59605171407531, 186.69858418697999
68.54786206569099, 179.3094384837924
79.24703527090092, 171.75301799473309
93.02409457669958, 163.93495203048826
108.51867546639197, 155.9656915244779
126.5941149824405, 147.0301382654459
147.68029446830633, 138.0518741736095
172.27869855775518, 128.43932707311797
192.7048730125345, 121.55334325539347
66 changes: 66 additions & 0 deletions popsycle/data/radial_velocity_profile_shallow.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
r,v
0.010792642776929309, 204.26643023097807
0.012590321940393834, 210.92487127516114
0.014687431970009386, 218.17494681231219
0.01713384764066691, 225.4158429807519
0.019987751131241467, 232.89705353032554
0.023317015749352955, 240.21341604790845
0.02720082013657757, 247.6177427638289
0.031731531344141896, 255.39654951292243
0.03701690156357718, 262.5159561489671
0.04318263075634799, 269.98842786464206
0.05037535612850712, 277.3556810971669
0.05876613954792163, 284.43477324360026
0.0685545358439959, 291.3605743829068
0.07997333874472501, 298.11329956878745
0.0932941173219056, 304.6732953099007
0.10883367461568658, 311.0211336366553
0.1269615820414861, 316.5932048851325
0.14810896876722457, 322.0805612681069
0.17277877509531006, 326.913144325661
0.20155771370168304, 331.43832299459757
0.235130223201544, 335.44920768526305
0.2742947458941446, 338.73163728292803
0.3199827168140894, 342.046186032515
0.3732807156985778, 343.8140575474295
0.4354563087024429, 346.3837933152392
0.5079881944447303, 346.3837933152392
0.5926013713388398, 346.3837933152392
0.6913081625775506, 346.3837933152392
0.8064560744546262, 343.61717701711524
0.9407836262193813, 341.654561829232
1.0974854792445174, 338.15005999198166
1.2802884144496132, 334.10688186636213
1.4935399649225864, 329.73408677356304
1.7423118116552716, 324.4878564913184
2.03252040141478, 318.41185653421763
2.3710676553598873, 312.4496290180272
2.7660051148222395, 306.07263557365945
3.2267254280694635, 299.1396191737312
3.764185732107431, 292.02890586026
4.391168242126657, 285.9048791942064
5.122584246093038, 278.7891986399261
5.975828734271417, 271.383867634092
6.971194097701775, 265.692780180841
8.132352734462563, 258.3391991378944
9.48692004136333, 253.79240406567155
11.067111180485346, 247.90157653062977
12.970922127990187, 241.5318118152786
15.060949011985775, 236.1208479753841
17.618863818498795, 229.54628085055066
20.496060936083154, 223.2314835842758
23.909992300202614, 217.3019029730845
27.892565970532186, 211.4086969647845
32.53849799081271, 206.147098218244
37.958280805597894, 199.9828369269898
44.28081106028432, 193.7807781680185
51.65645510129202, 186.37803645873726
60.26062508202531, 179.36080012164197
70.29795072379233, 172.80561961785477
82.0071459470937, 165.2548659942107
95.6666861145325, 158.0340430777453
111.60143090506897, 149.06535054405288
130.19035032893146, 139.90937104204863
151.8755376280755, 130.51589873409813
177.1727234125981, 121.49765534647908
195.4228471568372, 116.70016866901982
Loading