MEP-CMAP Analyser
Copyright (C) 2026 Justin Andrushko

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <https://www.gnu.org/licenses/>.


Licence history
---------------

Versions 1.3.3 and earlier were released under the MIT Licence.  Those releases
remain available under MIT and that grant is irrevocable: anyone who obtained
the software under those terms keeps them, and may continue to use, modify and
redistribute those versions accordingly.

Version 1.4.0 onwards is licensed under the GNU General Public License version
3.  The change was made so that the project can incorporate work derived from
the TMS Analysis ToolBox (Cunningham, Zhang & Cahn, 2021), which is licensed
under GPL-3 and whose terms require that derivative works carry the same
licence.

The MIT copyright notice that applied to versions up to 1.3.3:

    Copyright (c) 2026 Justin Andrushko

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation
    the rights to use, copy, modify, merge, publish, distribute, sublicense,
    and/or sell copies of the Software, and to permit persons to whom the
    Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.


Third-party components
----------------------

Any code incorporated from the TMS Analysis ToolBox, or ported from it, remains
copyright its original authors and is used under GPL-3.  Such code must carry
its own copyright notice; see the file headers of the components concerned.

    Cunningham, D.A., Zhang, B., & Cahn, A. (2021).  Transcranial Magnetic
    Stimulation (TMS) Analysis Toolbox: A user friendly open source software
    for basic and advanced analysis and data sharing of TMS related outcomes.
    Brain Stimulation, 14(6), 1641-1642.
    https://github.com/CunninghamLab/TMSAnalysisToolBox
