Last active
August 22, 2017 07:29
-
-
Save philippslang/2fbeff720b23e6141887fbbc508baf28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isample = 0 | |
for time_stage_change in np.linspace(*bounds_stage_change_time, num_discrete_stage_changes): | |
for _ in range(num_realizations_per_stage_change): | |
_, production, stage = calc_two_stage_decline(p0, exp_stage_zero, exp_stage_one, time_max, t | |
time_stage_change, num=num_timesteps) | |
for num_sample_points in range(1, num_timesteps): | |
features[isample, :, ifeature_stage] = stage[:] | |
features[isample, :num_sample_points, ifeature_production] = production[:num_sample_points] | |
targets[isample, 1:, itarget_production] = production[1:] | |
isample += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment