Airspace-Encounter-Models / Airspace-Encounter-Models/em-model-manned-bayes

[ENHANCEMENT] Create class method to write samples to file

オープン
#35 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
MATLAB
スター
22
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

### Relation

The script, `RUN_uncor` and `RUN_terminal` are good and simple script to introduce users to the encounter model classes and how to generate model samples or tracks derived from samples. However this script nor the the `EncounterModel` and `UncorEncounterModel` classes have the functionality to write the samples or tracks to file. This functionality existed in the previous default example scripts, `RUN_1_emsample` and `RUN_2_sample2track` and functions, `em_sample` and `sample2track`.

### Description

- Add class method to `EncounterModel` to write samples to file
- Inherit (preferred) or override new `EncounterModel` method to enable `UncorEncounterModel` to write samples to file
- Inherit (preferred) or override new `EncounterModel` method to enable `CorTerminalModel` to write samples to file

Per the [convention guide](https://pages.llcad-github.llan.ll.mit.edu/airspace-encounter-models-internal/airspace-encounter-models-internal.github.io/contribute/#convention-guide), the files should be encoded in UTF-8 with linux style (`\n`) line endings

### Additional

This issue is for samples only, a issue #36 is for writing tracks to file. While there is also no `EncounterModel` superclass method for `sample`, the desired functionality for issue #35 should be easier to implement and be flexible enough to write to file based on basic model parameters.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。