Skip to content

Commit 7d80fd9

Browse files
committed
deploy: 84e15cb
1 parent 272a0d5 commit 7d80fd9

File tree

61 files changed

+417
-1917
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+417
-1917
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 277ca174c19dc79e7890aad60f301f9c
3+
config: 99c99639a0ef86ac4a79adb425f0e14a
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_sources/autoapi/sccala/gen_testdata/index.rst.txt

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Functions
99

1010
.. autoapisummary::
1111

12+
sccala.gen_testdata.generate_observed_data
13+
sccala.gen_testdata.detection_probability
1214
sccala.gen_testdata.gen_testdata
1315
sccala.gen_testdata.main
1416
sccala.gen_testdata.cli
@@ -17,7 +19,11 @@ Functions
1719
Module Contents
1820
---------------
1921

20-
.. py:function:: gen_testdata(zrange, save, size=250, plots=False, hubble=False, zrange_hubble=(0.001, 0.005), hubble_size=25, h0=70.0)
22+
.. py:function:: generate_observed_data(zrange, vel_range=(7100000.0, 725000.0), col_range=(0.5, 0.06), ae_range=(0.31, 0.13), verr=np.sqrt(200000.0**2 + 150000.0**2), cerr=0.05, aeerr=0.013, r_err=0.0001, alpha=3.4, beta=1.8, gamma=-1.5, mi=-1.6, sint=0.25, rng=None, hubble=False, calib=False, h0=70.0)
23+
24+
.. py:function:: detection_probability(mag, m_cut=21, sigma_cut=0.5)
25+
26+
.. py:function:: gen_testdata(zrange, save, size=250, plots=False, hubble=False, zrange_hubble=(0.001, 0.005), hubble_size=25, h0=70.0, alpha=3.4, beta=1.8, gamma=-1.5, mi=-1.6, sint=0.25, vel_range=(7100000.0, 725000.0), col_range=(0.5, 0.06), ae_range=(0.31, 0.13), verr=np.sqrt(200000.0**2 + 150000.0**2), cerr=0.05, aeerr=0.013, r_err=0.0001, m_cut=21, sigma_cut=0.5, calib_m_cut=21, calib_sigma_cut=0.5, m_cut_nom=None, sig_cut_nom=None, calib_m_cut_nom=None, calib_sig_cut_nom=None)
2127
2228
Function generating simulated datasets for standardisation
2329

@@ -45,6 +51,31 @@ Module Contents
4551
h0 : float
4652
Value of the Hubble constant used for simulating calibrator sample.
4753
Default: 70.0
54+
alpha : float
55+
beta : float
56+
gamma : float
57+
mi : float
58+
sint : float
59+
Parameters for the calculation of the magnitudes.
60+
vel_range : tuple
61+
col_range : tuple
62+
ae_range : tuple
63+
Parameters for the generation of the observed data.
64+
verr : float
65+
cerr : float
66+
aeerr : float
67+
r_err : float
68+
Parameters for the calculation of the magnitude errors.
69+
m_cut : float
70+
sigma_cut : float
71+
calib_m_cut : float
72+
calib_sigma_cut : float
73+
Parameters for the detection probability.
74+
m_cut_nom : float
75+
sig_cut_nom : float
76+
calib_m_cut_nom : float
77+
calib_sig_cut_nom : float
78+
Parameters for the nominal detection values exported to the data.
4879

4980
Returns
5081
-------

_sources/autoapi/sccala/interplib/epoch_interp/index.rst.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ Module Contents
121121

122122

123123

124-
.. py:method:: diagnostic_plot(diagnostic, target, flux_interp=False)
124+
.. py:method:: diagnostic_plot(diagnostic, target, flux_interp=False, interactive=False)
125125
126126
Plots the output of the interpolation
127127

128128

129129

130-
.. py:method:: data_interp(target, step=0.1, date_low=None, date_high=None, diagnostic=None, no_reject=False, flux_interp=False)
130+
.. py:method:: data_interp(target, step=0.1, date_low=None, date_high=None, diagnostic=None, no_reject=False, flux_interp=False, interactive=False)
131131
132132
Interpolate dataocities using Gaussian Process regression
133133

@@ -152,6 +152,8 @@ Module Contents
152152
If True, data is converted to flux before interpolating.
153153
Exported values will be converted back to magnitudes.
154154
Only works with 'phot' in target. Default: False
155+
interactive : bool
156+
If True, diagnostic plots will be shown interactively.
155157

156158
Returns
157159
-------

_sources/autoapi/sccala/libio/scm_loader/index.rst.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Functions
1515
Module Contents
1616
---------------
1717

18-
.. py:function:: load_data(sne_list, date, mag='I', col=('V', 'I'), calib_sne_list=None, calib_date=None, calib_mag='I', calib_col=('V', 'I'), instrument='Bessell12', export=False, mag_sys=None, vel_sys=None, col_sys=None, ae_sys=None, rho=1.0, rho_calib=0.0, error_mode='mean')
18+
.. py:function:: load_data(sne_list, date, mag='I', col=('V', 'I'), calib_sne_list=None, calib_date=None, calib_mag='I', calib_col=('V', 'I'), instrument='Bessell12', export=False, mag_sys=None, vel_sys=None, col_sys=None, ae_sys=None, rho=1.0, rho_calib=0.0, error_mode='mean', m_cut_nom=18.5, sig_cut_nom=0.5, pv_red_file=None)
1919
2020
Loads all the necessary data for the scm and bundles it
2121
into a pandas DataFrame
@@ -65,6 +65,12 @@ Module Contents
6565
Correlation between the color and magnitude uncertainties for calibrator SNe. Default: 0.0
6666
error_mode : str
6767
Mode used to calculate single value error from asymmetric errors. Default: "mean"
68+
m_cut_nom : float
69+
sig_cut_nom : float
70+
Nominal values for the magnitude cut and its uncertainty. Default: 18.5, 0.5
71+
pv_red_file : str
72+
Path to a file containing the peculiar velocity corrected redshifts of the SNe.
73+
If None, redshifts are taken from the info file. Default: None
6874

6975
Returns
7076
-------

0 commit comments

Comments
 (0)