Skip to content

Commit

Permalink
deploy: 1510bc7
Browse files Browse the repository at this point in the history
  • Loading branch information
zsarnoczay committed Feb 11, 2025
1 parent 9c22b47 commit cdf3f67
Show file tree
Hide file tree
Showing 7 changed files with 213 additions and 211 deletions.
2 changes: 2 additions & 0 deletions _modules/pelicun/assessment.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ <h1>Source code for pelicun.assessment</h1><div class="highlight"><pre>
<span class="s1">&#39;3_excessive.coll.DEM&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;DS1&#39;</span><span class="p">:</span> <span class="s1">&#39;collapse_DS1&#39;</span><span class="p">},</span>
<span class="s1">&#39;4_collapse&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;DS1&#39;</span><span class="p">:</span> <span class="s1">&#39;ALL_NA&#39;</span><span class="p">},</span>
<span class="s1">&#39;5_excessiveRID&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;DS1&#39;</span><span class="p">:</span> <span class="s1">&#39;irreparable_DS1&#39;</span><span class="p">},</span>
<span class="s1">&#39;6_irreparable&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;DS1&#39;</span><span class="p">:</span> <span class="s1">&#39;ALL_NA&#39;</span><span class="p">},</span>
<span class="s1">&#39;7_irreparable&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;DS1&#39;</span><span class="p">:</span> <span class="s1">&#39;collapse_DS0&#39;</span><span class="p">},</span>
<span class="p">},</span>
<span class="s1">&#39;Hazus Hurricane&#39;</span><span class="p">:</span> <span class="p">{},</span>
<span class="p">}</span>
Expand Down
12 changes: 6 additions & 6 deletions about/cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Latest pelicun citation</div>
<p class="sd-card-text">Zsarnoczay, Adam, Vouvakis Manousakis, Ioannis, and Zhao, Jinyan (2024) NHERI-SimCenter/pelicun. DOI:10.5281/zenodo.14286321</p>
<div class="highlight-bibtex notranslate"><div class="highlight"><pre><span></span><span class="nc">@software</span><span class="p">{</span><span class="nl">zsarnoczay_adam_vouvakis_manousakis_ioannis_zhao_jinyan_2024_14286321</span><span class="p">,</span>
<span class="w"> </span><span class="na">author</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{Zsarnoczay, Adam and Vouvakis Manousakis, Ioannis and Zhao, Jinyan}</span><span class="p">,</span>
<p class="sd-card-text">Adam Zsarnoczay, John Vouvakis Manousakis, Jinyan Zhao, Sina Naeimi, Pouria Kourehpaz, Kuanshi Zhong, Frank McKenna, Barbaros Cetiner, and kanwardhindsa (2025) NHERI-SimCenter/pelicun. DOI:10.5281/zenodo.14807381</p>
<div class="highlight-bibtex notranslate"><div class="highlight"><pre><span></span><span class="nc">@software</span><span class="p">{</span><span class="nl">adam_zsarnoczay_john_vouvakis_manousakis_jinyan_zhao_sina_naeimi_pouria_kourehpaz_kuanshi_zhong_frank_mckenna_barbaros_cetiner_kanwardhindsa_2025_14807381</span><span class="p">,</span>
<span class="w"> </span><span class="na">author</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{Adam Zsarnoczay and John Vouvakis Manousakis and Jinyan Zhao and Sina Naeimi and Pouria Kourehpaz and Kuanshi Zhong and Frank McKenna and Barbaros Cetiner and kanwardhindsa}</span><span class="p">,</span>
<span class="w"> </span><span class="na">title</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{NHERI-SimCenter/pelicun}</span><span class="p">,</span>
<span class="w"> </span><span class="na">year</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="m">2024</span><span class="p">,</span>
<span class="w"> </span><span class="na">year</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="m">2025</span><span class="p">,</span>
<span class="w"> </span><span class="na">publisher</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{Zenodo}</span><span class="p">,</span>
<span class="w"> </span><span class="na">version</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{v3.4}</span><span class="p">,</span>
<span class="w"> </span><span class="na">doi</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{10.5281/zenodo.14286321}</span><span class="p">,</span>
<span class="w"> </span><span class="na">version</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{v3.5}</span><span class="p">,</span>
<span class="w"> </span><span class="na">doi</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s">{10.5281/zenodo.14807381}</span><span class="p">,</span>
<span class="p">}</span>
</pre></div>
</div>
Expand Down
104 changes: 52 additions & 52 deletions examples/notebooks/example_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "0ca20d1e",
"id": "e7a6b19f",
"metadata": {},
"source": [
"# Example 1: Simple loss function."
]
},
{
"cell_type": "markdown",
"id": "b9d6421d",
"id": "c9458316",
"metadata": {
"cell_marker": "\"\"\""
},
Expand All @@ -22,13 +22,13 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "a739e074",
"id": "f13797ac",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.060868Z",
"iopub.status.busy": "2025-02-04T23:48:15.060653Z",
"iopub.status.idle": "2025-02-04T23:48:15.716859Z",
"shell.execute_reply": "2025-02-04T23:48:15.716217Z"
"iopub.execute_input": "2025-02-11T23:34:33.321020Z",
"iopub.status.busy": "2025-02-11T23:34:33.320808Z",
"iopub.status.idle": "2025-02-11T23:34:33.910841Z",
"shell.execute_reply": "2025-02-11T23:34:33.910212Z"
}
},
"outputs": [],
Expand All @@ -44,13 +44,13 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "26873346",
"id": "0e411f76",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.719472Z",
"iopub.status.busy": "2025-02-04T23:48:15.719028Z",
"iopub.status.idle": "2025-02-04T23:48:15.722193Z",
"shell.execute_reply": "2025-02-04T23:48:15.721644Z"
"iopub.execute_input": "2025-02-11T23:34:33.913031Z",
"iopub.status.busy": "2025-02-11T23:34:33.912762Z",
"iopub.status.idle": "2025-02-11T23:34:33.915625Z",
"shell.execute_reply": "2025-02-11T23:34:33.915102Z"
}
},
"outputs": [],
Expand All @@ -61,13 +61,13 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "9876e760",
"id": "28aee8e5",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.724298Z",
"iopub.status.busy": "2025-02-04T23:48:15.723823Z",
"iopub.status.idle": "2025-02-04T23:48:15.728070Z",
"shell.execute_reply": "2025-02-04T23:48:15.727522Z"
"iopub.execute_input": "2025-02-11T23:34:33.917367Z",
"iopub.status.busy": "2025-02-11T23:34:33.917178Z",
"iopub.status.idle": "2025-02-11T23:34:33.921080Z",
"shell.execute_reply": "2025-02-11T23:34:33.920577Z"
}
},
"outputs": [],
Expand All @@ -79,13 +79,13 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "e37983ee",
"id": "1b3a2e72",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.730011Z",
"iopub.status.busy": "2025-02-04T23:48:15.729815Z",
"iopub.status.idle": "2025-02-04T23:48:15.787594Z",
"shell.execute_reply": "2025-02-04T23:48:15.787011Z"
"iopub.execute_input": "2025-02-11T23:34:33.922935Z",
"iopub.status.busy": "2025-02-11T23:34:33.922742Z",
"iopub.status.idle": "2025-02-11T23:34:33.975144Z",
"shell.execute_reply": "2025-02-11T23:34:33.974623Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -129,13 +129,13 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "947cadf3",
"id": "e77736eb",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.789648Z",
"iopub.status.busy": "2025-02-04T23:48:15.789436Z",
"iopub.status.idle": "2025-02-04T23:48:15.792092Z",
"shell.execute_reply": "2025-02-04T23:48:15.791583Z"
"iopub.execute_input": "2025-02-11T23:34:33.976985Z",
"iopub.status.busy": "2025-02-11T23:34:33.976769Z",
"iopub.status.idle": "2025-02-11T23:34:33.979399Z",
"shell.execute_reply": "2025-02-11T23:34:33.978870Z"
}
},
"outputs": [],
Expand All @@ -150,13 +150,13 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "3eb7e303",
"id": "038d568e",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.793847Z",
"iopub.status.busy": "2025-02-04T23:48:15.793661Z",
"iopub.status.idle": "2025-02-04T23:48:15.803831Z",
"shell.execute_reply": "2025-02-04T23:48:15.803299Z"
"iopub.execute_input": "2025-02-11T23:34:33.981138Z",
"iopub.status.busy": "2025-02-11T23:34:33.980924Z",
"iopub.status.idle": "2025-02-11T23:34:33.990747Z",
"shell.execute_reply": "2025-02-11T23:34:33.990258Z"
},
"lines_to_next_cell": 0
},
Expand All @@ -181,13 +181,13 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "63905be8",
"id": "558ba384",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.805787Z",
"iopub.status.busy": "2025-02-04T23:48:15.805422Z",
"iopub.status.idle": "2025-02-04T23:48:15.808637Z",
"shell.execute_reply": "2025-02-04T23:48:15.807941Z"
"iopub.execute_input": "2025-02-11T23:34:33.992468Z",
"iopub.status.busy": "2025-02-11T23:34:33.992281Z",
"iopub.status.idle": "2025-02-11T23:34:33.995094Z",
"shell.execute_reply": "2025-02-11T23:34:33.994560Z"
},
"lines_to_next_cell": 0,
"nbsphinx": "hidden"
Expand All @@ -200,13 +200,13 @@
{
"cell_type": "code",
"execution_count": 8,
"id": "18fd7621",
"id": "7caf7d28",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.810678Z",
"iopub.status.busy": "2025-02-04T23:48:15.810217Z",
"iopub.status.idle": "2025-02-04T23:48:15.902915Z",
"shell.execute_reply": "2025-02-04T23:48:15.902162Z"
"iopub.execute_input": "2025-02-11T23:34:33.996975Z",
"iopub.status.busy": "2025-02-11T23:34:33.996766Z",
"iopub.status.idle": "2025-02-11T23:34:34.089443Z",
"shell.execute_reply": "2025-02-11T23:34:34.088832Z"
},
"lines_to_next_cell": 0
},
Expand All @@ -221,13 +221,13 @@
{
"cell_type": "code",
"execution_count": 9,
"id": "09603a28",
"id": "4694cdb7",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.905615Z",
"iopub.status.busy": "2025-02-04T23:48:15.905080Z",
"iopub.status.idle": "2025-02-04T23:48:15.908440Z",
"shell.execute_reply": "2025-02-04T23:48:15.907915Z"
"iopub.execute_input": "2025-02-11T23:34:34.091852Z",
"iopub.status.busy": "2025-02-11T23:34:34.091490Z",
"iopub.status.idle": "2025-02-11T23:34:34.094787Z",
"shell.execute_reply": "2025-02-11T23:34:34.094173Z"
},
"nbsphinx": "hidden"
},
Expand All @@ -241,13 +241,13 @@
{
"cell_type": "code",
"execution_count": 10,
"id": "cfbce16e",
"id": "915b388e",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:15.910299Z",
"iopub.status.busy": "2025-02-04T23:48:15.909923Z",
"iopub.status.idle": "2025-02-04T23:48:15.915245Z",
"shell.execute_reply": "2025-02-04T23:48:15.914750Z"
"iopub.execute_input": "2025-02-11T23:34:34.096520Z",
"iopub.status.busy": "2025-02-11T23:34:34.096331Z",
"iopub.status.idle": "2025-02-11T23:34:34.101299Z",
"shell.execute_reply": "2025-02-11T23:34:34.100783Z"
},
"nbsphinx": "hidden"
},
Expand Down
72 changes: 36 additions & 36 deletions examples/notebooks/example_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "1e587bc5",
"id": "0759a8eb",
"metadata": {
"cell_marker": "r\"\"\""
},
Expand Down Expand Up @@ -44,13 +44,13 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "409a4ebd",
"id": "3fcdacac",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:17.362833Z",
"iopub.status.busy": "2025-02-04T23:48:17.362629Z",
"iopub.status.idle": "2025-02-04T23:48:17.965975Z",
"shell.execute_reply": "2025-02-04T23:48:17.965347Z"
"iopub.execute_input": "2025-02-11T23:34:35.594976Z",
"iopub.status.busy": "2025-02-11T23:34:35.594759Z",
"iopub.status.idle": "2025-02-11T23:34:36.220625Z",
"shell.execute_reply": "2025-02-11T23:34:36.220049Z"
}
},
"outputs": [],
Expand All @@ -69,13 +69,13 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "46b8c3b0",
"id": "e12529a4",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:17.968469Z",
"iopub.status.busy": "2025-02-04T23:48:17.968050Z",
"iopub.status.idle": "2025-02-04T23:48:17.972404Z",
"shell.execute_reply": "2025-02-04T23:48:17.971772Z"
"iopub.execute_input": "2025-02-11T23:34:36.223052Z",
"iopub.status.busy": "2025-02-11T23:34:36.222763Z",
"iopub.status.idle": "2025-02-11T23:34:36.227468Z",
"shell.execute_reply": "2025-02-11T23:34:36.226787Z"
}
},
"outputs": [],
Expand All @@ -88,13 +88,13 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "ea97ad6f",
"id": "2f80bc5c",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:17.974263Z",
"iopub.status.busy": "2025-02-04T23:48:17.973913Z",
"iopub.status.idle": "2025-02-04T23:48:18.057634Z",
"shell.execute_reply": "2025-02-04T23:48:18.056870Z"
"iopub.execute_input": "2025-02-11T23:34:36.229335Z",
"iopub.status.busy": "2025-02-11T23:34:36.229146Z",
"iopub.status.idle": "2025-02-11T23:34:36.314683Z",
"shell.execute_reply": "2025-02-11T23:34:36.314050Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -127,13 +127,13 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "cf9fc60b",
"id": "cf25346e",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:18.060321Z",
"iopub.status.busy": "2025-02-04T23:48:18.059912Z",
"iopub.status.idle": "2025-02-04T23:48:18.110180Z",
"shell.execute_reply": "2025-02-04T23:48:18.109490Z"
"iopub.execute_input": "2025-02-11T23:34:36.317016Z",
"iopub.status.busy": "2025-02-11T23:34:36.316792Z",
"iopub.status.idle": "2025-02-11T23:34:36.367272Z",
"shell.execute_reply": "2025-02-11T23:34:36.366588Z"
}
},
"outputs": [],
Expand All @@ -157,13 +157,13 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "5b3353d0",
"id": "3d932fd2",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:18.112534Z",
"iopub.status.busy": "2025-02-04T23:48:18.112130Z",
"iopub.status.idle": "2025-02-04T23:48:18.592695Z",
"shell.execute_reply": "2025-02-04T23:48:18.592017Z"
"iopub.execute_input": "2025-02-11T23:34:36.369472Z",
"iopub.status.busy": "2025-02-11T23:34:36.369273Z",
"iopub.status.idle": "2025-02-11T23:34:36.821553Z",
"shell.execute_reply": "2025-02-11T23:34:36.820870Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -193,13 +193,13 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "565a5820",
"id": "43045a15",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:18.595267Z",
"iopub.status.busy": "2025-02-04T23:48:18.594864Z",
"iopub.status.idle": "2025-02-04T23:48:18.601389Z",
"shell.execute_reply": "2025-02-04T23:48:18.600863Z"
"iopub.execute_input": "2025-02-11T23:34:36.823760Z",
"iopub.status.busy": "2025-02-11T23:34:36.823561Z",
"iopub.status.idle": "2025-02-11T23:34:36.830472Z",
"shell.execute_reply": "2025-02-11T23:34:36.829920Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -242,13 +242,13 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "49bd49c4",
"id": "5b5d73e7",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-04T23:48:18.603158Z",
"iopub.status.busy": "2025-02-04T23:48:18.602974Z",
"iopub.status.idle": "2025-02-04T23:48:18.622592Z",
"shell.execute_reply": "2025-02-04T23:48:18.622059Z"
"iopub.execute_input": "2025-02-11T23:34:36.832314Z",
"iopub.status.busy": "2025-02-11T23:34:36.832122Z",
"iopub.status.idle": "2025-02-11T23:34:36.851392Z",
"shell.execute_reply": "2025-02-11T23:34:36.850856Z"
},
"nbsphinx": "hidden"
},
Expand Down
Loading

0 comments on commit cdf3f67

Please sign in to comment.