Skip to content
Merged
Changes from all commits
Commits
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
7 changes: 3 additions & 4 deletions compare.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,8 @@
"def read_irr_setup(filepath):\n",
" ff = pp.InputData()\n",
" pp.from_file(ff, filepath)\n",
" cleaned_irradschedule = [item for item in ff._irradschedule if item != (0.0, 0.0)]\n",
" flux_mag_list = [val[1] for val in cleaned_irradschedule] + [0.0] * len(ff._coolingschedule)\n",
" days_list = np.cumsum([val[0] for val in cleaned_irradschedule] + ff._coolingschedule)/ (24*60*60)\n",
" flux_mag_list = [val[1] for val in ff._irradschedule] + [0.0] * len(ff._coolingschedule)\n",
" days_list = np.cumsum([val[0] for val in ff._irradschedule] + ff._coolingschedule)/ (24*60*60)\n",
" return days_list.tolist(), flux_mag_list\n",
"\n",
"def read_mat_setup(filepath):\n",
Expand Down Expand Up @@ -888,7 +887,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
"version": "3.13.3"
}
},
"nbformat": 4,
Expand Down