|
44 | 44 | </md-menu-content> |
45 | 45 | </md-menu> |
46 | 46 | <!-- <p class="logo-icon">{{ icon }}</p> --> |
47 | | - <h2 class="md-title logo" style="flex: 1"> StatSim <sup class="version">0.6.1</sup></h2> |
| 47 | + <h2 class="md-title logo" style="flex: 1"> StatSim <sup class="version">0.7.0</sup></h2> |
48 | 48 | <md-menu md-align-trigger md-size="4" md-direction="bottom left"> |
49 | 49 | <md-button class="md-raised md-primary add-block-button" md-menu-trigger> |
50 | 50 | <md-icon>add</md-icon> |
@@ -466,51 +466,6 @@ <h2 class="md-title logo" style="flex: 1"> StatSim <sup class="version">0.6.1</s |
466 | 466 | </md-button> |
467 | 467 | </md-whiteframe> |
468 | 468 |
|
469 | | - <!-- |
470 | | - <md-input-container> |
471 | | - <label for="distributionType">Distribution:</label> |
472 | | - <md-select |
473 | | - name="distributionType" |
474 | | - id="distributionType" |
475 | | - v-model="block.distribution" |
476 | | - > |
477 | | - <md-option |
478 | | - v-for="(params, distributionType) in distributions" |
479 | | - :value="distributionType" |
480 | | - @selected="block.params = {}" |
481 | | - >{{ distributionType }}</md-option> |
482 | | - </md-select> |
483 | | - </md-input-container> |
484 | | - <md-input-container |
485 | | - v-if="block.distribution.length" |
486 | | - v-for="(paramOptions, param) in distributions[block.distribution]" |
487 | | - md-clearable |
488 | | - > |
489 | | - <label>{{ param }}</label> |
490 | | - <md-input |
491 | | - v-model="block.params[param]" |
492 | | - ></md-input> |
493 | | - </md-input-container> |
494 | | - <p style="font-size: 12px; color: 999;"> |
495 | | - In case of vectors you can get index as <b>_j</b><br> |
496 | | - Dimension-wise indexes for tensors are <b>_j0, _j1, ...</b><br> |
497 | | - Values stored in <b>_v</b> |
498 | | - </p> |
499 | | - </md-whiteframe> |
500 | | - <md-card-expand> |
501 | | - <md-card-actions> |
502 | | - <span style="flex: 1"></span> |
503 | | - <md-button class="md-icon-button" md-expand-trigger> |
504 | | - <md-icon>help</md-icon> |
505 | | - </md-button> |
506 | | - </md-card-actions> |
507 | | -
|
508 | | - <md-card-content> |
509 | | - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi. |
510 | | - </md-card-content> |
511 | | - </md-card-expand> |
512 | | - --> |
513 | | - <!-- <pre>{{ block }}</pre> --> |
514 | 469 | </md-card-content> |
515 | 470 |
|
516 | 471 |
|
@@ -600,30 +555,33 @@ <h3 v-if="blocks.length > 0" style="margin: 35px 0 0 0">Model output:</h3> |
600 | 555 | </div> |
601 | 556 |
|
602 | 557 | <!-- Empty model button --> |
603 | | - <md-boards v-if="!blocks.reduce((a, b) => b.show || a, false)":md-controls="true" :md-infinite="true" :md-swipeable="true" style="height: auto !important; margin-bottom: 70px;"> |
| 558 | + <md-boards v-if="!blocks.reduce((a, b) => b.show || a, false)":md-controls="true" :md-infinite="true" :md-swipeable="true" style="height: auto !important; margin-bottom: 10px;"> |
604 | 559 | <md-board id="slide1"> |
605 | 560 | <p><b><span style="border: 1px solid #5db53b; background-color: #5db53b; color: white; padding: 3px 4px;"> Add blocks </span> to your model.</b> After you open StatSim or create a new model, add some elements (blocks) to it. There are multiple types of blocks. Data blocks can be constants or input parameters, expressions set relationships between elements, random variables describe stochastic values.</p> |
606 | 561 | </md-board> |
607 | 562 | <md-board id="slide2"> |
608 | | - <p><b>Update block settings.</b>Update block settings. Each block has its own settings. They determine how the program evaluates a block and its future usage. Almost each block has the Show in results checkbox. It determines if the block is shown in the output.</p> |
| 563 | + <p><b>Update block settings.</b> Each block has its own settings. They determine how the program evaluates a block and its future usage. Almost each block has the <i>Show in results</i> checkbox. It determines if the block is shown in the output.</p> |
609 | 564 | </md-board> |
610 | 565 | <md-board id="slide3"> |
611 | | - <p><b>Set simulation <span style="border: 1px solid #e91e63; background-color: #e91e63; color: white; padding: 3px 4px;">Params</span>.</b> After you created and set all the blocks it's time to choose a simulation method. The simple rule is if you don't use random variables select Deterministic. For simulations choose Rejection Sampling or MCMC, for ML select Optimization. </p> |
| 566 | + <p><b>Set simulation <span style="border: 1px solid #e91e63; background-color: #e91e63; color: white; padding: 3px 4px;">Params</span>.</b> After you created and set all the blocks it's time to choose a simulation method. The simple rule is if you don't use random variables select <i>Deterministic</i>. For simulations choose <i>Rejection Sampling</i> or <i>MCMC</i>, for ML select <i>Optimization</i>. </p> |
612 | 567 | </md-board> |
613 | 568 | <md-board id="slide4"> |
614 | 569 | <p><b><span style="border: 1px solid #3f51b5; background-color: #3f51b5; color: white; padding: 3px 4px;"> Run </span> your model</b> after saving it. If you don't use a server for simulations StatSim may become unresponsive and you may lose your data. In case everything went right you get some informative charts or scalar values as a result. Compile your model to binaries if you want to use it as a separate app.</p> |
615 | 570 | </md-board> |
616 | 571 | </md-boards> |
617 | 572 |
|
618 | 573 |
|
| 574 | + <div class="stat-seal" style="text-align: center;"> |
| 575 | + <img src="images/s.png" style="width: 100px; height: auto; opacity: 0.35; margin: 20px 0px"></img> |
| 576 | + </div> |
619 | 577 | <!-- Model control --> |
620 | 578 | <md-button v-on:click.native="duplicateModel()"> |
621 | 579 | <md-icon>flip_to_front</md-icon> |
622 | | - Duplicate model |
| 580 | + Duplicate |
623 | 581 | </md-button> |
624 | 582 | <md-button v-on:click.native="openDialog('remove-dialog')" :disabled="(models.length <= 1)" class="md-accent"> |
625 | 583 | <md-icon>delete_outlined</md-icon> |
626 | | - Remove model |
| 584 | + Remove |
627 | 585 | </md-button> |
628 | 586 | </div> |
629 | 587 |
|
|
0 commit comments