**Academic and Non-Commercial Use License**

Copyright (c) 2023 Joshua G. Albert

All rights reserved.

**Definitions:**

- **Academic Use:** Use by individuals at educational or research institutions for the purpose of education or research.
- **Non-Commercial Use:** Use that is not for commercial advantage or monetary compensation.
- **Commercial Use:** Use primarily for commercial advantage or monetary compensation.

**Grant of License:**

This license permits use, modification, and redistribution of the software provided the following conditions are met:

1. The use is for Academic or Non-Commercial purposes.
2. Redistribution of source or binary forms of the software includes the copyright notice, this list of conditions, and the disclaimer.

**Redistribution Conditions:**

- Source code must retain the above copyright notice, this list of conditions, and the following disclaimer.
- Binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Any derivative works must be licensed under the same terms as this license.

**Disclaimer of Warranty:**

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

**Commercial Licensing:**

Use of the software in a commercial setting requires a separate license agreement. Please contact Joshua G. Albert at albert@strw.leidenuniv.nl for commercial licensing inquiries.

**Governing Law:**

This license and the use of the software are governed by the laws of The Netherlands.

**Indemnification:**

The user agrees to indemnify and hold harmless the copyright owner and contributors from any and all claims, liabilities, damages, costs, and expenses (including reasonable attorney's fees) arising out of the use of the software.
