This repository was used to carry out the research as well as the generation of the paper:"System-identification-of-Vessel-Manoeuvring-Models". The LaTeX part of the paper is however stored in another repository: LaTeX.
- Python >=3.7
pip install -r .\src\requirements.txt
- Download the wPCC data from here
- Copy all the files into wpcc data folder. The files in the ''model_tests'' folder should also be moved to the subfolder.
- The analysis has been defined as a Kedro pipeline
- The various pilelines can be listed as:
kedro registry list
giving:
- __default__
- kvlcc2_hsva
- kvlcc2_hsva_create
- lowpass_study
- plot
- plot_filters_kvlcc2
- plot_filters_kvlcc2_hsva
- plot_filters_wpcc
- plot_kvlcc2
- plot_kvlcc2_hsva
- plot_wpcc
- work
- wpcc
- The KVLCC2 data from HSVA needs to be preprocessed:
kedro run --pipeline kvlcc2_hsva_create
- The whole analysis can be run with:
kedro run
(it takes quite a while to run)
- Track plots of raw data
- Kalman filtered and RTS smoothened data
- Identified models
- Simulation results with models
- Plot simulations with wPCC:
kedro run --pipeline plot_wpcc
- Plot simulations with KVLCC2:
kedro run --pipeline plot_kvlcc2_hsva
- Plots end up here
- The paper is generated with jupyter notebooks here. These must be launched with kedro prefix:
kedro jupyter lab
Build jupyter book to LaTeX, apply some fixes and then create PDF wit xelatex. build.bat
This is your new Kedro project, which was generated using Kedro 0.17.6
.
Take a look at the Kedro documentation to get started.
More information about Kedro can be found further below.
You can also start JupyterLab:
kedro jupyter lab
And if you want to run an IPython session:
kedro ipython
To automatically strip out all output cell contents before committing to git
, you can run kedro activate-nbstripout
. This will add a hook in .git/config
which will run nbstripout
before anything is committed to git
.
Note: Your output cells will be retained locally.
Further information about building project documentation and packaging your project