diff --git a/README.md b/README.md
index b422bf10f67bea69d5fc86f0a0b11f94205c4542..de980114f2e09d141fb8a2f277fa18c71eef8a98 100755
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# pyrst
-Python Robust Speckle Tracking (**pyrst**) is a library for wavefront metrology
+# pyrost
+Python Robust Speckle Tracking (**pyrost**) is a library for wavefront metrology
 and sample imaging based on ptychographic speckle tracking algorithm. This
 project takes over Andrew Morgan's [speckle_tracking](https://github.com/andyofmelbourne/speckle-tracking)
 project as an improved version aiming to add robustness to the optimisation
@@ -21,7 +21,7 @@ The documentation can be found on [Read the Docs](https://robust-speckle-trackin
 We recommend **not** building from source, but install the release from [pypi](https://test.pypi.org/project/rst/)
 with the pip package installer:
 
-    pip install pyrst
+    pip install pyrost
 
 Pre-build binary wheels for OS X are available in [pypi](https://test.pypi.org/project/rst/) as for now.
 
@@ -34,4 +34,4 @@ or:
 
     pip install -r requirements.txt -e . -v
 
-That cythonizes the Cython extensions and builds them into ``/pyrst/bin``.
\ No newline at end of file
+That cythonizes the Cython extensions and builds them into ``/pyrost/bin``.
\ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
index 8c7350c7446675349797802b4950ce5243472f7a..3873f34cb76c8432bdadf488b52173f18b073ac9 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,7 +17,7 @@ sys.path.insert(0, os.path.abspath('..'))
 
 # -- Project information -----------------------------------------------------
 
-project = 'pyrst'
+project = 'pyrost'
 copyright = '2020, Nikolay Ivanov'
 author = 'Nikolay Ivanov'
 
diff --git a/docs/index.rst b/docs/index.rst
index 1968e74e9c40b640f46c6f1b27169053a93e4bd1..7d751a46b64808ba798ef197e4c78dae3eb55a33 100755
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,12 +1,12 @@
-.. pyrst documentation master file, created by
+.. pyrost documentation master file, created by
    sphinx-quickstart on Fri Oct 30 16:00:08 2020.
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
-pyrst
-=====
+pyrost
+======
 
-Python Robust Speckle Tracking (**pyrst**) is a library for wavefront
+Python Robust Speckle Tracking (**pyrost**) is a library for wavefront
 metrology and sample imaging based on ptychographic speckle tracking
 algorithm. This project takes over Andrew Morgan's
 `speckle_tracking <https://github.com/andyofmelbourne/speckle-tracking>`_
@@ -19,7 +19,7 @@ algorithm, which yields an unabberated profile of the sample and the wavefront
 of the lens. Also it contains a set of auxiliary data processing
 routines, such as bad pixel masking, defocus sweep scan, wavefront
 reconstruction, phase model fitting, etc. All of them are listed in
-:class:`pyrst.STData`.
+:class:`pyrost.STData`.
 
 st_sim
 ======
diff --git a/docs/install.rst b/docs/install.rst
index ac3a8a5b52b07d7b25b91ee55d2a42617e8f92ce..3f4abe083748bd9e5bc6419ac1d3f5eaf15dd7db 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -3,7 +3,7 @@ Installation
 
 Dependencies
 ------------
-pyrst has the following **mandatory** runtime dependencies:
+pyrost has the following **mandatory** runtime dependencies:
 
 * `Python <https://www.python.org/>`_ 3.7 or later (Python 2.x is
   **not** supported).
@@ -17,32 +17,32 @@ pyrst has the following **mandatory** runtime dependencies:
 * `NumPy <https://numpy.org>`_ 1.19.0 or later.
 * `SciPy <https://scipy.org>`_ 1.5.2 or later.
 * `pyFFTW <https://github.com/pyFFTW/pyFFTW>`_ 0.12.0 or later, which is used
-  for the Fourier Transform wavefront reconstruction (:func:`pyrst.bin.ct_integrate`).
+  for the Fourier Transform wavefront reconstruction (:func:`pyrost.bin.ct_integrate`).
 
 Packages
 --------
-pyrst packages are available through `pypi <https://test.pypi.org/project/rst/>`_ on
+pyrost packages are available through `pypi <https://test.pypi.org/project/rst/>`_ on
 OS X as for now.
 
 pip
 ^^^
-pyrst is available on OS X via the `pip <https://pip.pypa.io/en/stable/>`_
+pyrost is available on OS X via the `pip <https://pip.pypa.io/en/stable/>`_
 package installer. Installation is pretty straightforward:
 
 .. code-block:: console
 
-    $ pip install pyrst
+    $ pip install pyrost
 
-If you want to install pyrst for a single user instead of
+If you want to install pyrost for a single user instead of
 system-wide, you can do:
 
 .. code-block:: console
 
-    $ pip install --user pyrst
+    $ pip install --user pyrost
 
 Installation from source
 ------------------------
-In order to install pyrst from source you will need:
+In order to install pyrost from source you will need:
 
 * a C++ compiler (gcc or clang will do).
 * `Python <https://www.python.org/>`_ 3.7 or later (Python 2.x is
@@ -57,19 +57,19 @@ In order to install pyrst from source you will need:
 * `NumPy <https://numpy.org>`_ 1.19.0 or later.
 
 After installing the dependencies, you can download the the source code from
-the `GitHub pyrst repository page <https://github.com/simply-nicky/pyrst>`_.
-Or you can download the last version of pyrst repository with ``git``:
+the `GitHub pyrost repository page <https://github.com/simply-nicky/pyrost>`_.
+Or you can download the last version of pyrost repository with ``git``:
 
 .. code-block:: console
 
-    $ git clone https://github.com/simply-nicky/pyrst.git
+    $ git clone https://github.com/simply-nicky/pyrost.git
 
-After downloading the pyrst's source code, ``cd`` into the repository root folder
+After downloading the pyrost's source code, ``cd`` into the repository root folder
 and build the C++ libraries using ``setuputils``:
 
 .. code-block:: console
 
-    $ cd pyrst
+    $ cd pyrost
     $ python setup.py install
 
 OR
@@ -80,6 +80,6 @@ OR
 
 Getting help
 ------------
-If you run into troubles installing pyrst, please do not hesitate
+If you run into troubles installing pyrost, please do not hesitate
 to contact me either through `my mail <nikolay.ivanov@desy.de>`_
-or by opening an issue report on `github <https://github.com/simply-nicky/pyrst/issues>`_.
\ No newline at end of file
+or by opening an issue report on `github <https://github.com/simply-nicky/pyrost/issues>`_.
\ No newline at end of file
diff --git a/docs/reference/ab_fit_ref.rst b/docs/reference/ab_fit_ref.rst
index dac209df458990e0d095c604ac3f80b01398006e..034f5ee197e78cdceb3f6bb3cd857159819e8c1b 100755
--- a/docs/reference/ab_fit_ref.rst
+++ b/docs/reference/ab_fit_ref.rst
@@ -1,7 +1,7 @@
-pyrst Abberations Fitting
-=========================
+pyrost Abberations Fitting
+==========================
 
-.. automodule:: pyrst.abberations_fit
+.. automodule:: pyrost.abberations_fit
 
 .. toctree::
     :maxdepth: 1
diff --git a/docs/reference/c_funcs/aperture_wp.rst b/docs/reference/c_funcs/aperture_wp.rst
index 2a46d0ffae3fc6a1c258c6bce75339bdfdff2a62..3ed2afa02d49b1132ecd40454db1ef3d441bc366 100644
--- a/docs/reference/c_funcs/aperture_wp.rst
+++ b/docs/reference/c_funcs/aperture_wp.rst
@@ -1,4 +1,4 @@
 aperture_wp
 ===========
 
-.. autofunction:: pyrst.bin.aperture_wp
\ No newline at end of file
+.. autofunction:: pyrost.bin.aperture_wp
\ No newline at end of file
diff --git a/docs/reference/c_funcs/barcode_profile.rst b/docs/reference/c_funcs/barcode_profile.rst
index 7b5262f3c24a1d148c541af4ee2f807d023f152c..cb4db17901618ef68a54be24bebeef4a40333622 100644
--- a/docs/reference/c_funcs/barcode_profile.rst
+++ b/docs/reference/c_funcs/barcode_profile.rst
@@ -1,4 +1,4 @@
 barcode_profile
 ===============
 
-.. autofunction:: pyrst.bin.barcode_profile
\ No newline at end of file
+.. autofunction:: pyrost.bin.barcode_profile
\ No newline at end of file
diff --git a/docs/reference/c_funcs/ct_integrate.rst b/docs/reference/c_funcs/ct_integrate.rst
index a9bd0a2a0ff9c1c1d64ffbd6524e56fd0a1176e2..147919005f8bf1d15ba313fa87a0e7ac05c60474 100755
--- a/docs/reference/c_funcs/ct_integrate.rst
+++ b/docs/reference/c_funcs/ct_integrate.rst
@@ -1,4 +1,4 @@
 ct_integrate
 ============
 
-.. autofunction:: pyrst.bin.ct_integrate
\ No newline at end of file
+.. autofunction:: pyrost.bin.ct_integrate
\ No newline at end of file
diff --git a/docs/reference/c_funcs/fraunhofer_1d.rst b/docs/reference/c_funcs/fraunhofer_1d.rst
index 100d883b077c2e023e16dbb3d1a4d0e58417598f..8e99fbb47b5d7b93a53ef679cecdf4abed3efe09 100644
--- a/docs/reference/c_funcs/fraunhofer_1d.rst
+++ b/docs/reference/c_funcs/fraunhofer_1d.rst
@@ -1,4 +1,4 @@
 fraunhofer_1d
 =============
 
-.. autofunction:: pyrst.bin.fraunhofer_1d
\ No newline at end of file
+.. autofunction:: pyrost.bin.fraunhofer_1d
\ No newline at end of file
diff --git a/docs/reference/c_funcs/fraunhofer_1d_scan.rst b/docs/reference/c_funcs/fraunhofer_1d_scan.rst
index 081989f2f7a70db72b3044109c002783a9d0f06d..2b29f06e326dff64ecf723a7cede5d3af9589a7d 100644
--- a/docs/reference/c_funcs/fraunhofer_1d_scan.rst
+++ b/docs/reference/c_funcs/fraunhofer_1d_scan.rst
@@ -1,4 +1,4 @@
 fraunhofer_1d_scan
 ==================
 
-.. autofunction:: pyrst.bin.fraunhofer_1d_scan
\ No newline at end of file
+.. autofunction:: pyrost.bin.fraunhofer_1d_scan
\ No newline at end of file
diff --git a/docs/reference/c_funcs/lens_wp.rst b/docs/reference/c_funcs/lens_wp.rst
index 1998dcecd7d3cd6129765dd8f0b02523909abd3e..db70a3b06542f3c727fb07226651acabebf96aa9 100644
--- a/docs/reference/c_funcs/lens_wp.rst
+++ b/docs/reference/c_funcs/lens_wp.rst
@@ -1,4 +1,4 @@
 lens_wp
 =======
 
-.. autofunction:: pyrst.bin.lens_wp
\ No newline at end of file
+.. autofunction:: pyrost.bin.lens_wp
\ No newline at end of file
diff --git a/docs/reference/c_funcs/make_frames.rst b/docs/reference/c_funcs/make_frames.rst
index 9f59cc64ee9ef55b1058d757e873ebd733dceefa..3aefc4a9e680b9a9d8964bac81ed186d69dee016 100644
--- a/docs/reference/c_funcs/make_frames.rst
+++ b/docs/reference/c_funcs/make_frames.rst
@@ -1,4 +1,4 @@
 make_frames
 ===========
 
-.. autofunction:: pyrst.bin.make_frames
\ No newline at end of file
+.. autofunction:: pyrost.bin.make_frames
\ No newline at end of file
diff --git a/docs/reference/c_funcs/make_reference.rst b/docs/reference/c_funcs/make_reference.rst
index 945e82cc8f5762c7992440f278f88fc6a219a85d..67132bf4bdcadd3b393128aa4c3fe0be2290424f 100755
--- a/docs/reference/c_funcs/make_reference.rst
+++ b/docs/reference/c_funcs/make_reference.rst
@@ -1,4 +1,4 @@
 make_reference
 ==============
 
-.. autofunction:: pyrst.bin.make_reference
\ No newline at end of file
+.. autofunction:: pyrost.bin.make_reference
\ No newline at end of file
diff --git a/docs/reference/c_funcs/make_whitefield.rst b/docs/reference/c_funcs/make_whitefield.rst
index f8451ad4c1a6dedee90bfec1da3d37e412388b13..3fa392b7518af1e705ff65428b70d68c67aa54b3 100644
--- a/docs/reference/c_funcs/make_whitefield.rst
+++ b/docs/reference/c_funcs/make_whitefield.rst
@@ -1,4 +1,4 @@
 make_whitefield
 ===============
 
-.. autofunction:: pyrst.bin.make_whitefield
\ No newline at end of file
+.. autofunction:: pyrost.bin.make_whitefield
\ No newline at end of file
diff --git a/docs/reference/c_funcs/total_mse.rst b/docs/reference/c_funcs/total_mse.rst
index 644c8316ed4e95c355bd293f629575fc2f7409c3..fc327a3857a44c665fd339781a37ac4d9a284d7f 100755
--- a/docs/reference/c_funcs/total_mse.rst
+++ b/docs/reference/c_funcs/total_mse.rst
@@ -1,4 +1,4 @@
 total_mse
 =========
 
-.. autofunction:: pyrst.bin.total_mse
\ No newline at end of file
+.. autofunction:: pyrost.bin.total_mse
\ No newline at end of file
diff --git a/docs/reference/c_funcs/update_pixel_map_gs.rst b/docs/reference/c_funcs/update_pixel_map_gs.rst
index 90cf4282b69ca986bad9eb46259e8b46921a5b3f..d64a46d0ed688241aeb7c4c8e6fc2696a70a8736 100755
--- a/docs/reference/c_funcs/update_pixel_map_gs.rst
+++ b/docs/reference/c_funcs/update_pixel_map_gs.rst
@@ -1,4 +1,4 @@
 update_pixel_map_gs
 ===================
 
-.. autofunction:: pyrst.bin.update_pixel_map_gs
\ No newline at end of file
+.. autofunction:: pyrost.bin.update_pixel_map_gs
\ No newline at end of file
diff --git a/docs/reference/c_funcs/update_pixel_map_nm.rst b/docs/reference/c_funcs/update_pixel_map_nm.rst
index 94f09e69899ab5d2db2910b099f6809009bf71f9..c94c5787e7cc1ebcee6934b297df2a1954f933e8 100755
--- a/docs/reference/c_funcs/update_pixel_map_nm.rst
+++ b/docs/reference/c_funcs/update_pixel_map_nm.rst
@@ -1,4 +1,4 @@
 update_pixel_map_nm
 ===================
 
-.. autofunction:: pyrst.bin.update_pixel_map_nm
\ No newline at end of file
+.. autofunction:: pyrost.bin.update_pixel_map_nm
\ No newline at end of file
diff --git a/docs/reference/classes/abberations_fit.rst b/docs/reference/classes/abberations_fit.rst
index bca67469da040bd6385dbb68b5bc8f46eebd1fda..df06b20fac5d13cf728d1a9282ea5af6df712331 100755
--- a/docs/reference/classes/abberations_fit.rst
+++ b/docs/reference/classes/abberations_fit.rst
@@ -1,6 +1,6 @@
 AbberationsFit
 ==============
 
-.. autoclass:: pyrst.AbberationsFit
+.. autoclass:: pyrost.AbberationsFit
     :members:
     :inherited-members:
\ No newline at end of file
diff --git a/docs/reference/classes/cxi_protocol.rst b/docs/reference/classes/cxi_protocol.rst
index 72c31cbfdd7e562021596945f0324e3d797c5ef6..5c921d0b36500569d3b258ecf9ec75978210a03c 100755
--- a/docs/reference/classes/cxi_protocol.rst
+++ b/docs/reference/classes/cxi_protocol.rst
@@ -1,4 +1,4 @@
 cxi_protocol
 ============
 
-.. autofunction:: pyrst.cxi_protocol
\ No newline at end of file
+.. autofunction:: pyrost.cxi_protocol
\ No newline at end of file
diff --git a/docs/reference/classes/loader.rst b/docs/reference/classes/loader.rst
index ecb5041419222a313f888d8c1f739492e5b7c8a7..166892af67562ab9eeaf149a0c91a053a8ec146d 100755
--- a/docs/reference/classes/loader.rst
+++ b/docs/reference/classes/loader.rst
@@ -1,4 +1,4 @@
 loader
 ======
 
-.. autofunction:: pyrst.loader
\ No newline at end of file
+.. autofunction:: pyrost.loader
\ No newline at end of file
diff --git a/docs/reference/classes/parameters.rst b/docs/reference/classes/parameters.rst
index 387d3e7089f827a8a7eb39e0694b981b2fbf5a54..23580fbdb87a269c6b243acd3a739edf58f0f0bf 100755
--- a/docs/reference/classes/parameters.rst
+++ b/docs/reference/classes/parameters.rst
@@ -1,4 +1,4 @@
 parameters
 ==========
 
-.. autofunction:: pyrst.simulation.parameters
\ No newline at end of file
+.. autofunction:: pyrost.simulation.parameters
\ No newline at end of file
diff --git a/docs/reference/classes/protocol.rst b/docs/reference/classes/protocol.rst
index 6e594e2e97fb64572da511003547b092702fd3ae..64666fac9d85ad4f28019d72c42e6ded8752293e 100755
--- a/docs/reference/classes/protocol.rst
+++ b/docs/reference/classes/protocol.rst
@@ -1,6 +1,6 @@
 Protocol
 ========
 
-.. autoclass:: pyrst.Protocol
+.. autoclass:: pyrost.Protocol
     :members:
     :inherited-members:
\ No newline at end of file
diff --git a/docs/reference/classes/speckle_tracking.rst b/docs/reference/classes/speckle_tracking.rst
index 587bb2072cf0c7107f597e670ebd446fe9388f47..91f343ae06e09e170d876baf1afd0b4ed6c04d38 100755
--- a/docs/reference/classes/speckle_tracking.rst
+++ b/docs/reference/classes/speckle_tracking.rst
@@ -1,7 +1,7 @@
 SpeckleTracking
 ===============
 
-.. autoclass:: pyrst.SpeckleTracking
+.. autoclass:: pyrost.SpeckleTracking
     :members:
     :exclude-members: update_reference, update_pixel_map
 
diff --git a/docs/reference/classes/st_converter.rst b/docs/reference/classes/st_converter.rst
index 68718df1f3c7ecd0c89bf3b186451e254262ef1c..f8b9f08318c4bc00cf1512a2875aea3724ccdf0c 100644
--- a/docs/reference/classes/st_converter.rst
+++ b/docs/reference/classes/st_converter.rst
@@ -1,5 +1,5 @@
 STConverter
 ===========
 
-.. autoclass:: pyrst.simulation.STConverter
+.. autoclass:: pyrost.simulation.STConverter
     :members:
\ No newline at end of file
diff --git a/docs/reference/classes/st_data.rst b/docs/reference/classes/st_data.rst
index 496dbf54231768aad0de9b9052f6f4fd7b254aa0..1545a0eeb2d2971e0ac9d954ceadf8802aa98989 100755
--- a/docs/reference/classes/st_data.rst
+++ b/docs/reference/classes/st_data.rst
@@ -1,7 +1,7 @@
 STData
 ======
 
-.. autoclass:: pyrst.STData
+.. autoclass:: pyrost.STData
     :members:
     :inherited-members:
     :exclude-members: crop_data, mask_frames, make_mask, make_whitefield, make_pixel_map, update_defocus
diff --git a/docs/reference/classes/st_loader.rst b/docs/reference/classes/st_loader.rst
index b6920fe57507119d67b25429576e4376342298a3..11d51e251c2b892eebf21b152253a3c87e027548 100755
--- a/docs/reference/classes/st_loader.rst
+++ b/docs/reference/classes/st_loader.rst
@@ -1,5 +1,5 @@
 STLoader
 ========
 
-.. autoclass:: pyrst.STLoader
+.. autoclass:: pyrost.STLoader
     :members:
\ No newline at end of file
diff --git a/docs/reference/classes/st_params.rst b/docs/reference/classes/st_params.rst
index ebee412e2fa16945c54e1e5603397e56f4dc6ce3..f94bc57b0cf89e78593bcfa4e860eabb82b13164 100755
--- a/docs/reference/classes/st_params.rst
+++ b/docs/reference/classes/st_params.rst
@@ -1,6 +1,6 @@
 STParams
 ========
 
-.. autoclass:: pyrst.simulation.STParams
+.. autoclass:: pyrost.simulation.STParams
     :members:
     :inherited-members:
\ No newline at end of file
diff --git a/docs/reference/classes/st_sim.rst b/docs/reference/classes/st_sim.rst
index eba795a4d0623cfcabcee5823c7e9c835f2b29a3..b5b1430709e318a8e0184449e45c5e2e7fc0ebd9 100644
--- a/docs/reference/classes/st_sim.rst
+++ b/docs/reference/classes/st_sim.rst
@@ -1,5 +1,5 @@
 STSim
 =====
 
-.. autoclass:: pyrst.simulation.STSim
+.. autoclass:: pyrost.simulation.STSim
     :members:
\ No newline at end of file
diff --git a/docs/reference/cxi_ref.rst b/docs/reference/cxi_ref.rst
index 90556ef5a6449e2eab91f5ec017934b167d108dd..1c0ea1cf8cc18af32e64232518d30e435dde2868 100755
--- a/docs/reference/cxi_ref.rst
+++ b/docs/reference/cxi_ref.rst
@@ -1,7 +1,7 @@
-pyrst CXI Protocol
-==================
+pyrost CXI Protocol
+===================
 
-.. automodule:: pyrst.protocol
+.. automodule:: pyrost.protocol
 
 .. toctree::
     :maxdepth: 1
diff --git a/docs/reference/rst_c_ref.rst b/docs/reference/rst_c_ref.rst
index 35229a061b07fc2582c3d2751e149244db145e6b..eb3de87a01fb1f98eee2e77503120a9b9f4195f5 100755
--- a/docs/reference/rst_c_ref.rst
+++ b/docs/reference/rst_c_ref.rst
@@ -1,5 +1,5 @@
-pyrst Core Functions
-====================
+pyrost Core Functions
+=====================
 
 Core functions of the rst data processing 
 pipeline. All the functions are written in `Cython`_.
diff --git a/docs/reference/rst_dp_ref.rst b/docs/reference/rst_dp_ref.rst
index 973f255ffa4e301964c93b5830765b4024855f60..7eb02ff8d7205bf0ed18217ab58f9c016e1b095e 100755
--- a/docs/reference/rst_dp_ref.rst
+++ b/docs/reference/rst_dp_ref.rst
@@ -1,7 +1,7 @@
-pyrst Core Classes
-==================
+pyrost Core Classes
+===================
 
-.. automodule:: pyrst.data_processing
+.. automodule:: pyrost.data_processing
 
 .. toctree::
     :maxdepth: 1
diff --git a/docs/reference/st_params_ref.rst b/docs/reference/st_params_ref.rst
index 1a2cce40eea9c8ae0cb959d20fa064f0c6b651ee..e9a8307e8ab7f186ac428eb826cb5aafc1555380 100755
--- a/docs/reference/st_params_ref.rst
+++ b/docs/reference/st_params_ref.rst
@@ -6,7 +6,7 @@ st_sim Parameters
 
 |
 
-.. automodule:: pyrst.simulation.st_sim_param
+.. automodule:: pyrost.simulation.st_sim_param
 
 .. toctree::
     :maxdepth: 1
diff --git a/docs/reference/st_sim_ref.rst b/docs/reference/st_sim_ref.rst
index ab1564b260743479664e33185d6a79417103a1ef..1112607b839e91204d3dde0e4bed2f634bc28503 100755
--- a/docs/reference/st_sim_ref.rst
+++ b/docs/reference/st_sim_ref.rst
@@ -1,7 +1,7 @@
 st_sim Core Classes
 ===================
 
-.. automodule:: pyrst.simulation.st_sim
+.. automodule:: pyrost.simulation.st_sim
 
 .. toctree::
     :maxdepth: 1
diff --git a/docs/tutorials/1d_sim.rst b/docs/tutorials/1d_sim.rst
index b99279ba618fd961f1d109428e272afb3c23ab6e..21669183125d8eebdd9c2aba5882be10daa551da 100644
--- a/docs/tutorials/1d_sim.rst
+++ b/docs/tutorials/1d_sim.rst
@@ -41,19 +41,19 @@ of 200 frames.
 
 Loading the file
 ----------------
-Load the file with :class:`pyrst.STLoader`. In the case of simulated data you can
+Load the file with :class:`pyrost.STLoader`. In the case of simulated data you can
 import the protocol file, which is located in the same folder with `data.cxi`.
 
 .. doctest::
 
-    >>> import pyrst as rst
+    >>> import pyrost as rst
     >>> protocol = rst.Protocol.import_ini('results/sim_results/protocol.ini')
     >>> loader = rst.STLoader(protocol=protocol)
     >>> data = loader.load('results/sim_results/data.cxi')
 
 Speckle Tracking update
 -----------------------
-You can perform the Speckle Tracking procedure with :class:`pyrst.SpeckleTracking`.
+You can perform the Speckle Tracking procedure with :class:`pyrost.SpeckleTracking`.
 
 .. note:: You should pay outmost attention to choose the right length scales of reference
     image and pixel mapping (`ls_ri`, `ls_pm`). Essentually they stand for high frequency
diff --git a/docs/tutorials/diatom.rst b/docs/tutorials/diatom.rst
index 22f00bebc25e04884b45d28aad93c695bb9340cf..9a5241f32b2d92cc2f7a2db3908fe81124d22311 100644
--- a/docs/tutorials/diatom.rst
+++ b/docs/tutorials/diatom.rst
@@ -46,25 +46,25 @@ where each frame is an image of 516x1556 pixels.
 
 Loading the file
 ----------------
-Load the CXI file into a data container :class:`pyrst.STData` with :class:`pyrst.STLoader`.
-:func:`pyrst.loader` returns the default loader with the default CXI protocol
-(:func:`pyrst.protocol`).
+Load the CXI file into a data container :class:`pyrost.STData` with :class:`pyrost.STLoader`.
+:func:`pyrost.loader` returns the default loader with the default CXI protocol
+(:func:`pyrost.protocol`).
 
-.. note:: :class:`pyrst.STLoader` will raise an :class:`AttributeError` while loading the data
+.. note:: :class:`pyrost.STLoader` will raise an :class:`AttributeError` while loading the data
     from the CXI file if some of the necessary attributes for Speckle Tracking algorithm
     are not provided. You can see full list of the necessary attributes in
-    :class:`pyrst.STData`. Adding the missing attributes to :func:`pyrst.STLoader.load`
+    :class:`pyrost.STData`. Adding the missing attributes to :func:`pyrost.STLoader.load`
     solves the problem.
 
 .. doctest::
 
-    >>> import pyrst as rst
+    >>> import pyrost as rst
     >>> loader = rst.loader()
     >>> data = loader.load('results/diatom.cxi') # doctest: +SKIP
 
 Moreover, you can crop the data with the provided region of interest at the detector plane,
-or mask bad frames and bad pixels (See :func:`pyrst.STData.crop_data`,
-:func:`pyrst.STData.mask_frames`, :func:`pyrst.STData.make_mask`).
+or mask bad frames and bad pixels (See :func:`pyrost.STData.crop_data`,
+:func:`pyrost.STData.mask_frames`, :func:`pyrost.STData.make_mask`).
 
 .. doctest::
 
@@ -80,7 +80,7 @@ OR
     >>> data = data.make_mask(method='perc-bad')
 
 It worked! But still we can not perform the Speckle Tracking update procedure without the
-estimates of the defocus distance. You can estimate it with :func:`pyrst.STData.defocus_sweep`.
+estimates of the defocus distance. You can estimate it with :func:`pyrost.STData.defocus_sweep`.
 It generates sample profiles for the set of defocus distances and yields an average value
 of gradient magnitude squared (:math:`\left| \nabla I_{ref} \right|^2`), which characterizes
 reference image's contrast (the higher the value the better the estimate of defocus distance
@@ -113,7 +113,7 @@ Let's update the data container with the defocus distance we got.
 
 Speckle Tracking update
 -----------------------
-Now we're ready to generate a :class:`pyrst.SpeckleTracking` object, which does the heavy
+Now we're ready to generate a :class:`pyrost.SpeckleTracking` object, which does the heavy
 lifting of calculating the pixel mapping between reference plane and detector's plane,
 and generating the unabberated profile of the sample.
 
@@ -149,7 +149,7 @@ Phase reconstruction
 --------------------
 We got the pixel map, which can be easily translated to the deviation angles of the lens
 wavefront. Now we're able to reconstruct the lens' phase profile. Besides, you can fit
-the phase profile with polynomial function using :class:`pyrst.AbberationsFit`.
+the phase profile with polynomial function using :class:`pyrost.AbberationsFit`.
 
 .. doctest::
 
diff --git a/docs/tutorials/st_sim.rst b/docs/tutorials/st_sim.rst
index fb697c9ae576da6aac4f4003a618d2b95f7638ce..24105a88cefde0ce938f3797004b6f2624add24f 100644
--- a/docs/tutorials/st_sim.rst
+++ b/docs/tutorials/st_sim.rst
@@ -11,8 +11,8 @@ Experimental parameters
 ^^^^^^^^^^^^^^^^^^^^^^^
 
 Before performing the simulation, you need to choose experimental
-parameters. You can do it with :class:`pyrst.simulation.STParams` or
-:func:`pyrst.simulation.parameters`.
+parameters. You can do it with :class:`pyrost.simulation.STParams` or
+:func:`pyrost.simulation.parameters`.
 
 .. note:: Full list of experimental parameters is written in
     :doc:`../reference/st_params_ref`. All the spatial parameters are
@@ -20,7 +20,7 @@ parameters. You can do it with :class:`pyrst.simulation.STParams` or
 
 .. doctest::
 
-    >>> import pyrst.simulation as st_sim
+    >>> import pyrost.simulation as st_sim
     >>> params = st_sim.parameters(bar_size=0.7, bar_sigma=0.12, bar_atn=0.18,
     >>>                            bulk_atn=0.2, p0 = 5e4, th_s=8e-5, n_frames=100,
     >>>                            offset=2.0, step_size=0.1, defocus=150, alpha=0.05,
@@ -31,7 +31,7 @@ Performing the simulation
 
 Now you're able to generate the simulated data. It takes time to calculate the
 wavefronts, :class:`STSim` will post it's status during the process. You can
-either generate a stack of frames or a ptychograph. :class:`pyrst.simulation.STConverter`
+either generate a stack of frames or a ptychograph. :class:`pyrost.simulation.STConverter`
 saves the results to a CXI file using the provided CXI protocol.
 
 .. note:: :class:`STSim` logs the simulation procedure in `[package_root_folder]/logs`.
@@ -107,12 +107,12 @@ saves the results to a CXI file using the provided CXI protocol.
 Command-line interface
 ----------------------
 
-You can perform the whole simulation procedure with one command :code:`python -m pyrst.simulation`. To see all available arguments
-just type :code:`python -m pyrst.simulation --help`.
+You can perform the whole simulation procedure with one command :code:`python -m pyrost.simulation`. To see all available arguments
+just type :code:`python -m pyrost.simulation --help`.
 
 .. code-block:: console
 
-    $ python -m pyrst.simulation --help      
+    $ python -m pyrost.simulation --help      
     usage: __main__.py [-h] [-f INI_FILE] [--defocus DEFOCUS]
                        [--det_dist DET_DIST] [--step_size STEP_SIZE]
                        [--n_frames N_FRAMES] [--fs_size FS_SIZE]
@@ -161,7 +161,7 @@ just type :code:`python -m pyrst.simulation --help`.
       -v, --verbose         Turn on verbosity (default: True)
       -p, --ptych           Generate ptychograph data (default: False)
 
-    $ python -m pyrst.simulation results/sim_results --bar_size 0.7 --bar_sigma 0.12 \
+    $ python -m pyrost.simulation results/sim_results --bar_size 0.7 --bar_sigma 0.12 \
     --bar_atn 0.18 --bulk_atn 0.2 --p0 5e4 --th_s 8e-5 --n_frames 200 --offset 2 \
     --step_size 0.1 --defocus 150 --alpha 0.05 --x0 0.7 --rnd_dev 0.8 -p -v
     2020-11-25 17:29:35,570 - STSim - INFO - Initializing
diff --git a/environment.yml b/environment.yml
index 029e2963910c2263e41d1cb26086f5a6de3f77f5..17be69909663ffcccc80a77f7a0497f31d4e0a7f 100644
--- a/environment.yml
+++ b/environment.yml
@@ -1,4 +1,4 @@
-name: pyrst
+name: pyrost
 channels:
   - conda-forge
   - defaults
diff --git a/pyrst/__init__.py b/pyrost/__init__.py
similarity index 100%
rename from pyrst/__init__.py
rename to pyrost/__init__.py
diff --git a/pyrst/abberations_fit.py b/pyrost/abberations_fit.py
similarity index 100%
rename from pyrst/abberations_fit.py
rename to pyrost/abberations_fit.py
diff --git a/pyrst/bin/__init__.py b/pyrost/bin/__init__.py
similarity index 100%
rename from pyrst/bin/__init__.py
rename to pyrost/bin/__init__.py
diff --git a/pyrst/bin/beam_calc.pyx b/pyrost/bin/beam_calc.pyx
similarity index 100%
rename from pyrst/bin/beam_calc.pyx
rename to pyrost/bin/beam_calc.pyx
diff --git a/pyrst/bin/st_utils.pyx b/pyrost/bin/st_utils.pyx
similarity index 100%
rename from pyrst/bin/st_utils.pyx
rename to pyrost/bin/st_utils.pyx
diff --git a/pyrst/config/cxi_protocol.ini b/pyrost/config/cxi_protocol.ini
similarity index 100%
rename from pyrst/config/cxi_protocol.ini
rename to pyrost/config/cxi_protocol.ini
diff --git a/pyrst/config/parameters.ini b/pyrost/config/parameters.ini
similarity index 100%
rename from pyrst/config/parameters.ini
rename to pyrost/config/parameters.ini
diff --git a/pyrst/data_container.py b/pyrost/data_container.py
similarity index 100%
rename from pyrst/data_container.py
rename to pyrost/data_container.py
diff --git a/pyrst/data_processing.py b/pyrost/data_processing.py
similarity index 99%
rename from pyrst/data_processing.py
rename to pyrost/data_processing.py
index cdeac0975f3a1a9be34674b550d5036ba2018397..7a8a5307d96a01a21b806872966b4073a751f6a8 100755
--- a/pyrst/data_processing.py
+++ b/pyrost/data_processing.py
@@ -9,9 +9,9 @@ nonlinear least-squares algorithm.
 
 Examples
 --------
-Extract all the necessary data using a :func:`pyrst.protocol.loader` function.
+Extract all the necessary data using a :func:`pyrost.protocol.loader` function.
 
->>> import pyrst as rst
+>>> import pyrost as rst
 >>> loader = rst.loader()
 >>> rst_data = loader.load('results/test/data.cxi'
 
diff --git a/pyrst/ini_templates/calc_error.ini b/pyrost/ini_templates/calc_error.ini
similarity index 100%
rename from pyrst/ini_templates/calc_error.ini
rename to pyrost/ini_templates/calc_error.ini
diff --git a/pyrst/ini_templates/calculate_phase.ini b/pyrost/ini_templates/calculate_phase.ini
similarity index 100%
rename from pyrst/ini_templates/calculate_phase.ini
rename to pyrost/ini_templates/calculate_phase.ini
diff --git a/pyrst/ini_templates/generate_pixel_map.ini b/pyrost/ini_templates/generate_pixel_map.ini
similarity index 100%
rename from pyrst/ini_templates/generate_pixel_map.ini
rename to pyrost/ini_templates/generate_pixel_map.ini
diff --git a/pyrst/ini_templates/make_reference.ini b/pyrost/ini_templates/make_reference.ini
similarity index 100%
rename from pyrst/ini_templates/make_reference.ini
rename to pyrost/ini_templates/make_reference.ini
diff --git a/pyrst/ini_templates/speckle_gui.ini b/pyrost/ini_templates/speckle_gui.ini
similarity index 100%
rename from pyrst/ini_templates/speckle_gui.ini
rename to pyrost/ini_templates/speckle_gui.ini
diff --git a/pyrst/ini_templates/update_pixel_map.ini b/pyrost/ini_templates/update_pixel_map.ini
similarity index 100%
rename from pyrst/ini_templates/update_pixel_map.ini
rename to pyrost/ini_templates/update_pixel_map.ini
diff --git a/pyrst/ini_templates/update_translations.ini b/pyrost/ini_templates/update_translations.ini
similarity index 100%
rename from pyrst/ini_templates/update_translations.ini
rename to pyrost/ini_templates/update_translations.ini
diff --git a/pyrst/ini_templates/zernike.ini b/pyrost/ini_templates/zernike.ini
similarity index 100%
rename from pyrst/ini_templates/zernike.ini
rename to pyrost/ini_templates/zernike.ini
diff --git a/pyrst/protocol.py b/pyrost/protocol.py
similarity index 99%
rename from pyrst/protocol.py
rename to pyrost/protocol.py
index 3a6aa0b51b0735ab680bda4eb6e5c231d6116fcf..4d042417669ab4a58048dff155df6f1a3bee21cf 100755
--- a/pyrst/protocol.py
+++ b/pyrost/protocol.py
@@ -11,14 +11,14 @@ Examples
 --------
 Generate the default CXI protocol.
 
->>> import pyrst as rst
+>>> import pyrost as rst
 >>> rst.cxi_protocol()
-<pyrst.protocol.Protocol at 0x7fd7c0c965d0>
+<pyrost.protocol.Protocol at 0x7fd7c0c965d0>
 
 Or generate the default CXI loader.
 
 >>> rst.loader()
-<pyrst.protocol.STLoader at 0x7fd7e0d0f590>
+<pyrost.protocol.STLoader at 0x7fd7e0d0f590>
 
 Notes
 -----
diff --git a/pyrst/simulation/__init__.py b/pyrost/simulation/__init__.py
similarity index 100%
rename from pyrst/simulation/__init__.py
rename to pyrost/simulation/__init__.py
diff --git a/pyrst/simulation/__main__.py b/pyrost/simulation/__main__.py
similarity index 100%
rename from pyrst/simulation/__main__.py
rename to pyrost/simulation/__main__.py
diff --git a/pyrst/simulation/st_sim.py b/pyrost/simulation/st_sim.py
similarity index 99%
rename from pyrst/simulation/st_sim.py
rename to pyrost/simulation/st_sim.py
index d690ecaa497d14fde6bbdf153c7d68b0fababadb..9887f9eb2f7b86f91c319ff1c1d0bd9cf70fb2b1 100755
--- a/pyrst/simulation/st_sim.py
+++ b/pyrost/simulation/st_sim.py
@@ -13,7 +13,7 @@ Examples
 
 Perform the simulation for a given :class:`STParams` object.
 
->>> import pyrst.simulation as st_sim
+>>> import pyrost.simulation as st_sim
 >>> st_params = st_sim.parameters()
 >>> sim_obj = st_sim.STSim(st_params)
 2020-11-20 12:21:21,574 - STSim - INFO - Initializing
diff --git a/pyrst/simulation/st_sim_param.py b/pyrost/simulation/st_sim_param.py
similarity index 99%
rename from pyrst/simulation/st_sim_param.py
rename to pyrost/simulation/st_sim_param.py
index 34b2eb9fc78f6f9b796f3e5c9595df97f58e57e1..c6e0e3623ae3d9c8956bec68095d34669cb06b7d 100755
--- a/pyrst/simulation/st_sim_param.py
+++ b/pyrost/simulation/st_sim_param.py
@@ -9,7 +9,7 @@ Examples
 Generate parameters, which could be later parsed to :class:`STSim`
 in order to perform the simulation.
 
->>> import pyrst.simulation as st_sim
+>>> import pyrost.simulation as st_sim
 >>> st_params = st_sim.parameters()
 >>> print(st_params)
 {'defocus': 400.0, 'det_dist': 2000000.0, 'step_size': 0.1,
diff --git a/setup.py b/setup.py
index ac22f4cd696ad9ddc5606b6a58f90b500cd70b99..6ba748b6f54a5e3da6e7d9b9fbc4e905c47207f6 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ else:
 
 if USE_CYTHON:
     extensions = [Extension(name='beam_calc',
-                            sources=["pyrst/bin/beam_calc.pyx"],
+                            sources=["pyrost/bin/beam_calc.pyx"],
                             language="c",
                             extra_compile_args=['-fopenmp'],
                             extra_link_args=['-lomp'],
@@ -26,7 +26,7 @@ if USE_CYTHON:
                                           os.path.join(sys.prefix, 'include')],
                             define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]),
                   Extension(name='st_utils',
-                            sources=["pyrst/bin/st_utils.pyx"],
+                            sources=["pyrost/bin/st_utils.pyx"],
                             language="c",
                             extra_compile_args=['-fopenmp'],
                             extra_link_args=['-lomp'],
@@ -45,14 +45,14 @@ if USE_CYTHON:
                                                 'binding': True,
                                                 'embedsignature': True})
 else:
-    extensions = [Extension(name="pyrst/bin/*",
-                            sources=["pyrst/bin/*.c"],
+    extensions = [Extension(name="pyrost/bin/*",
+                            sources=["pyrost/bin/*.c"],
                             include_dirs=[numpy.get_include()])]
 
 with open('README.md', 'r') as readme:
     long_description = readme.read()
 
-setup(name='pyrst',
+setup(name='pyrost',
       version='0.1.0',
       author='Nikolay Ivanov',
       author_email="nikolay.ivanov@desy.de",
@@ -76,4 +76,4 @@ setup(name='pyrst',
           "Operating System :: OS Independent"
       ],
       python_requires='>=3.7',
-      options={'build': {'build_lib': 'pyrst/bin'}})
+      options={'build': {'build_lib': 'pyrost/bin'}})
diff --git a/test_pyrst.py b/test_pyrost.py
similarity index 95%
rename from test_pyrst.py
rename to test_pyrost.py
index 6959b8f40d8882eec6d9665eab78497eaa817ec8..aa07065d61622d581fafaf4368f8f4a2a916bc25 100755
--- a/test_pyrst.py
+++ b/test_pyrost.py
@@ -1,7 +1,7 @@
 import os
 import pytest
-import pyrst
-import pyrst.simulation as st_sim
+import pyrost as rst
+import pyrost.simulation as st_sim
 import numpy as np
 
 @pytest.fixture(params=[{'det_dist': 5e5, 'n_frames': 10, 'ap_x': 5,
@@ -47,7 +47,7 @@ def loader(request):
     """
     Return a default cxi protocol
     """
-    return pyrst.loader(request.param)
+    return rst.loader(request.param)
 
 @pytest.fixture(scope='function')
 def ini_path():
@@ -77,7 +77,7 @@ def test_st_sim(st_params):
 def test_loader_exp(exp_data, loader):
     assert os.path.isfile(exp_data['path'])
     data_dict = loader.load_dict(**exp_data)
-    for attr in pyrst.STData.attr_set:
+    for attr in rst.STData.attr_set:
         assert not data_dict[attr] is None
 
 @pytest.mark.rst
@@ -86,7 +86,7 @@ def test_loader_sim(sim_data, loader):
     data_path = os.path.join(sim_data, 'data.cxi')
     assert os.path.isfile(data_path)
     data_dict = loader.load_dict(data_path)
-    for attr in pyrst.STData.attr_set:
+    for attr in rst.STData.attr_set:
         assert not data_dict[attr] is None
 
 @pytest.mark.rst