ethraid 2.5.1__tar.gz → 2.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. {ethraid-2.5.1/ethraid.egg-info → ethraid-2.5.2}/PKG-INFO +1 -1
  2. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/__init__.py +1 -1
  3. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/helper_functions_general.c +7 -7
  4. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/helper_functions_imaging.c +1084 -1006
  5. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/helper_functions_general.cpython-37m-darwin.so +0 -0
  6. ethraid-2.5.2/ethraid/compiled/helper_functions_imaging.cpython-37m-darwin.so +0 -0
  7. ethraid-2.5.2/ethraid/data/baraffe_table1.csv +25 -0
  8. ethraid-2.5.2/ethraid/data/baraffe_table2.csv +25 -0
  9. ethraid-2.5.2/ethraid/data/baraffe_table3.csv +25 -0
  10. ethraid-2.5.2/ethraid/data/baraffe_table4.csv +23 -0
  11. ethraid-2.5.2/ethraid/data/baraffe_table5.csv +22 -0
  12. ethraid-2.5.2/ethraid/data/test_K_band_altered.csv +71 -0
  13. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/driver.py +6 -2
  14. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/helper_functions_general.pyx +5 -5
  15. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/helper_functions_imaging.pyx +20 -10
  16. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/load_save.py +14 -9
  17. {ethraid-2.5.1 → ethraid-2.5.2/ethraid.egg-info}/PKG-INFO +1 -1
  18. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid.egg-info/SOURCES.txt +7 -2
  19. ethraid-2.5.1/ethraid/compiled/helper_functions_imaging.cpython-37m-darwin.so +0 -0
  20. ethraid-2.5.1/ethraid/data/baraffe_table_4.csv +0 -27
  21. {ethraid-2.5.1 → ethraid-2.5.2}/LICENSE +0 -0
  22. {ethraid-2.5.1 → ethraid-2.5.2}/MANIFEST.in +0 -0
  23. {ethraid-2.5.1 → ethraid-2.5.2}/README.md +0 -0
  24. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/__init__.py +0 -0
  25. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/_kepler.c +0 -0
  26. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/_kepler.pyx +0 -0
  27. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/kepler.c +0 -0
  28. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/radvel_requirements.txt +0 -0
  29. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/c_kepler/radvel_setup.py +0 -0
  30. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/cli.py +0 -0
  31. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/_kepler.cpython-37m-darwin.so +0 -0
  32. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/c_kepler/_kepler.c +0 -0
  33. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/c_kepler/kepler.c +0 -0
  34. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/helper_functions_astro.c +0 -0
  35. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/ethraid/helper_functions_rv.c +0 -0
  36. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/helper_functions_astro.cpython-37m-darwin.so +0 -0
  37. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/compiled/helper_functions_rv.cpython-37m-darwin.so +0 -0
  38. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/data/.DS_Store +0 -0
  39. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/data/TOI1694_832.csv +0 -0
  40. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/data/bands.csv +0 -0
  41. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/data/mamajek.csv +0 -0
  42. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/data/test_K_band.csv +0 -0
  43. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/helper_functions_astro.pyx +0 -0
  44. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/helper_functions_plotting.py +0 -0
  45. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/helper_functions_rv.pyx +0 -0
  46. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/kern_profiler_dummy.py +0 -0
  47. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid/plotter.py +0 -0
  48. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid.egg-info/dependency_links.txt +0 -0
  49. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid.egg-info/entry_points.txt +0 -0
  50. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid.egg-info/requires.txt +0 -0
  51. {ethraid-2.5.1 → ethraid-2.5.2}/ethraid.egg-info/top_level.txt +0 -0
  52. {ethraid-2.5.1 → ethraid-2.5.2}/requirements.txt +0 -0
  53. {ethraid-2.5.1 → ethraid-2.5.2}/setup.cfg +0 -0
  54. {ethraid-2.5.1 → ethraid-2.5.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ethraid
3
- Version: 2.5.1
3
+ Version: 2.5.2
4
4
  Summary: Characterize long-period companions using RV trends, astrometric accelerations, and direct imaging
5
5
  Home-page:
6
6
  Author: Judah Van Zandt
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  from astropy.time import Time
3
3
 
4
- __version__='2.5.1' # Remember to remove random seed
4
+ __version__='2.5.2' # Remember to remove random seed
5
5
 
6
6
  _ROOT = os.path.abspath(os.path.dirname(__file__))
7
7
 
@@ -3928,7 +3928,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
3928
3928
  * m_list = spst.loguniform.rvs(m_min, m_max, size=num_points)
3929
3929
  *
3930
3930
  * a_prior = spst.loguniform.pdf(a_list, a_min, a_max) # Find the PDF value of each value in a_list # <<<<<<<<<<<<<<
3931
- * m_prior = spst.loguniform.pdf(m_list, m_min, m_max)
3931
+ * m_prior = spst.loguniform.pdf(m_list, m_min, m_max) # Find the PDF value of each value in m_list
3932
3932
  *
3933
3933
  */
3934
3934
  __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_spst); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 76, __pyx_L1_error)
@@ -4001,7 +4001,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
4001
4001
  /* "ethraid/helper_functions_general.pyx":77
4002
4002
  *
4003
4003
  * a_prior = spst.loguniform.pdf(a_list, a_min, a_max) # Find the PDF value of each value in a_list
4004
- * m_prior = spst.loguniform.pdf(m_list, m_min, m_max) # <<<<<<<<<<<<<<
4004
+ * m_prior = spst.loguniform.pdf(m_list, m_min, m_max) # Find the PDF value of each value in m_list # <<<<<<<<<<<<<<
4005
4005
  *
4006
4006
  * # Match up a_list and m_list and get the period for each pair (in days).
4007
4007
  */
@@ -4905,7 +4905,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
4905
4905
  * a_inds = np.digitize(a_list, bins = a_bins)
4906
4906
  * m_inds = np.digitize(m_list, bins = m_bins) # <<<<<<<<<<<<<<
4907
4907
  *
4908
- * tot_prior = a_prior*m_prior*e_prior*i_prior
4908
+ * tot_prior = a_prior*m_prior*e_prior*i_prior # Multiply priors to obtain total prior (note: not log)
4909
4909
  */
4910
4910
  __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 102, __pyx_L1_error)
4911
4911
  __Pyx_GOTREF(__pyx_t_12);
@@ -4934,7 +4934,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
4934
4934
  /* "ethraid/helper_functions_general.pyx":104
4935
4935
  * m_inds = np.digitize(m_list, bins = m_bins)
4936
4936
  *
4937
- * tot_prior = a_prior*m_prior*e_prior*i_prior # <<<<<<<<<<<<<<
4937
+ * tot_prior = a_prior*m_prior*e_prior*i_prior # Multiply priors to obtain total prior (note: not log) # <<<<<<<<<<<<<<
4938
4938
  *
4939
4939
  * return a_list, m_list, per_list, e_list, i_list,\
4940
4940
  */
@@ -4950,7 +4950,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
4950
4950
  __pyx_t_14 = 0;
4951
4951
 
4952
4952
  /* "ethraid/helper_functions_general.pyx":106
4953
- * tot_prior = a_prior*m_prior*e_prior*i_prior
4953
+ * tot_prior = a_prior*m_prior*e_prior*i_prior # Multiply priors to obtain total prior (note: not log)
4954
4954
  *
4955
4955
  * return a_list, m_list, per_list, e_list, i_list,\ # <<<<<<<<<<<<<<
4956
4956
  * om_list, M_anom_0_list, a_inds, m_inds, tot_prior
@@ -4971,7 +4971,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
4971
4971
  __Pyx_GOTREF(__pyx_t_11);
4972
4972
 
4973
4973
  /* "ethraid/helper_functions_general.pyx":106
4974
- * tot_prior = a_prior*m_prior*e_prior*i_prior
4974
+ * tot_prior = a_prior*m_prior*e_prior*i_prior # Multiply priors to obtain total prior (note: not log)
4975
4975
  *
4976
4976
  * return a_list, m_list, per_list, e_list, i_list,\ # <<<<<<<<<<<<<<
4977
4977
  * om_list, M_anom_0_list, a_inds, m_inds, tot_prior
@@ -5094,7 +5094,7 @@ static PyObject *__pyx_pf_7ethraid_8compiled_24helper_functions_general_make_arr
5094
5094
 
5095
5095
  /* Python wrapper */
5096
5096
  static PyObject *__pyx_pw_7ethraid_8compiled_24helper_functions_general_3tot_list(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5097
- static char __pyx_doc_7ethraid_8compiled_24helper_functions_general_2tot_list[] = "\n Start with 3 1D lists and add them element-wise.\n \n Arguments:\n rv_post_list, astro_post_list, \n imag_post_list (1D numpy arrays, len=num_points):\n Lists of log-likelihoods of the rv/astrometry/imaging data\n conditioned on a given model. Then ith log-likelihood in each\n list corresponds to the same model.\n num_points (int): Length of above lists. Also equal to the\n total number of models run.\n \n Returns:\n tot_list (1D numpy array, len=num_points):\n The likelihoods of all data sets, conditioned on a given\n model. The ith element is the exponentiation of the sum \n of the ith elements of the three above lists.\n ";
5097
+ static char __pyx_doc_7ethraid_8compiled_24helper_functions_general_2tot_list[] = "\n Start with 3 1D lists and add them element-wise.\n \n Arguments:\n rv_post_list, astro_post_list, \n imag_post_list (1D numpy arrays, len=num_points):\n Lists of log-likelihoods of the rv/astrometry/imaging data\n conditioned on a given model. Then ith log-likelihood in each\n list corresponds to the same model.\n num_points (int): Length of above lists. Also equal to the\n total number of models run.\n \n Returns:\n tot_list (1D numpy array, len=num_points):\n The log-likelihoods of all data sets, conditioned on a given\n model. The ith element is the sum of the ith elements of the \n three above lists.\n ";
5098
5098
  static PyMethodDef __pyx_mdef_7ethraid_8compiled_24helper_functions_general_3tot_list = {"tot_list", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_7ethraid_8compiled_24helper_functions_general_3tot_list, METH_VARARGS|METH_KEYWORDS, __pyx_doc_7ethraid_8compiled_24helper_functions_general_2tot_list};
5099
5099
  static PyObject *__pyx_pw_7ethraid_8compiled_24helper_functions_general_3tot_list(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5100
5100
  __Pyx_memviewslice __pyx_v_rv_post_list = { 0, 0, { 0 }, { 0 }, { 0 } };