Skip to content

Commit

Permalink
license changed to GNU
Browse files Browse the repository at this point in the history
license changed to GNU
  • Loading branch information
dpscience committed Jan 20, 2021
1 parent 4576126 commit 985cecf
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 137 deletions.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/****************************************************************************
**
** Copyright (C) 2020 Danny Petschke
**
** 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 http://www.gnu.org/licenses/.
**
*****************************************************************************
**
** @author: Danny Petschke
** @contact: danny.petschke@uni-wuerzburg.de
**
*****************************************************************************/
32 changes: 0 additions & 32 deletions pyDCONTINPALS/LICENCE.txt

This file was deleted.

23 changes: 23 additions & 0 deletions pyDCONTINPALS/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/****************************************************************************
**
** Copyright (C) 2020 Danny Petschke
**
** 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 http://www.gnu.org/licenses/.
**
*****************************************************************************
**
** @author: Danny Petschke
** @contact: danny.petschke@uni-wuerzburg.de
**
*****************************************************************************/
80 changes: 28 additions & 52 deletions pyDCONTINPALS/pyDCONTINPALS.py
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@
# -*- coding: utf-8 -*-

VERSION_HANDSHAKE = 1 # v1.0
VERSION_HANDSHAKE = 1 # v1.0x

#*************************************************************************************************
#**")
#** Copyright (c) 2020-2021 Danny Petschke. All rights reserved.
#**")
#** 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.
#**
#** Copyright (c) 2020 Danny Petschke. All rights reserved.
#**
#** Redistribution and use in source and binary forms, with or without modification,
#** are permitted provided that the following conditions are met:
#**
#** 1. Redistributions of source code must retain the above copyright notice,
#** this list of conditions and the following disclaimer.
#**
#** 2. Redistributions in 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.
#**
#** 3. Neither the name of the copyright holder "Danny Petschke" nor the names of its
#** contributors may be used to endorse or promote products derived from this software
#** without specific prior written permission.
#**
#**
#** 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.
#** 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 http://www.gnu.org/licenses/.
#**
#** Contact: danny.petschke@uni-wuerzburg.de
#**
Expand All @@ -45,9 +33,9 @@
import pyDCONTINPALSInput as userInput

def __information__():
print("#****************** pyDCONTINPALS 1.0 (11.02.2020) *******************")
print("#********************* pyDCONTINPALS 1.01 (20.01.2021) *********************")
print("#**")
print("#** Copyright (C) 2020 Danny Petschke")
print("#** Copyright (C) 2020-2021 Danny Petschke")
print("#**")
print("#** Contact: danny.petschke@uni-wuerzburg.de")
print("#**")
Expand All @@ -56,32 +44,20 @@ def __information__():
def __licence__():
print("#*************************************************************************************************")
print("#**")
print("#** Copyright (c) 2020 Danny Petschke. All rights reserved.")
print("#**")
print("#** Redistribution and use in source and binary forms, with or without modification,")
print("#** are permitted provided that the following conditions are met:")
print("#**")
print("#** 1. Redistributions of source code must retain the above copyright notice,")
print("#** this list of conditions and the following disclaimer.")
print("#**")
print("#** 2. Redistributions in binary form must reproduce the above copyright notice,")
print("#** this list of conditions and the following disclaimer in the documentation")
print("#** and/or other materials provided with the distribution.")
print("#** Copyright (c) 2020-2021 Danny Petschke. All rights reserved.")
print("#**")
print("#** 3. Neither the name of the copyright holder ""Danny Petschke"" nor the names of its")
print("#** contributors may be used to endorse or promote products derived from this software")
print("#** without specific prior written permission.")
print("#** This program is free software: you can redistribute it and/or modify")
print("#** it under the terms of the GNU General Public License as published by")
print("#** the Free Software Foundation, either version 3 of the License, or")
print("#** (at your option) any later version.")
print("#**")
print("#** This program is distributed in the hope that it will be useful,")
print("#** but WITHOUT ANY WARRANTY; without even the implied warranty of")
print("#** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the")
print("#** GNU General Public License for more details.")
print("#**")
print("#** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ""AS IS"" AND ANY EXPRESS")
print("#** OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF")
print("#** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE")
print("#** COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,")
print("#** EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF")
print("#** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)")
print("#** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR")
print("#** TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,")
print("#** EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.")
print("#** You should have received a copy of the GNU General Public License")
print("#** along with this program. If not, see http://www.gnu.org/licenses/.")
print("#**")
print("#** Contact: danny.petschke@uni-wuerzburg.de")
print("#**")
Expand Down
43 changes: 16 additions & 27 deletions pyDCONTINPALS/pyDCONTINPALSInput.py
Original file line number Diff line number Diff line change
@@ -1,37 +1,26 @@
# -*- coding: utf-8 -*-

#*************************************************************************************************
#**
#** Copyright (c) 2020 Danny Petschke. All rights reserved.
#**
#** Redistribution and use in source and binary forms, with or without modification,
#** are permitted provided that the following conditions are met:
#**
#** 1. Redistributions of source code must retain the above copyright notice,
#** this list of conditions and the following disclaimer.
#**
#** 2. Redistributions in 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.
#**
#** 3. Neither the name of the copyright holder "Danny Petschke" nor the names of its
#** contributors may be used to endorse or promote products derived from this software
#** without specific prior written permission.
#**
#**
#** 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.
#**")
#** Copyright (c) 2020-2021 Danny Petschke. All rights reserved.
#**")
#** 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 http://www.gnu.org/licenses/.
#**
#** Contact: danny.petschke@uni-wuerzburg.de
#**
#*************************************************************************************************

__demoMode = True # disable if running from real data

# NOTE: spectrum and IRF (or mono-exponential decay spectrum) data vectors require equal length!
Expand Down
40 changes: 14 additions & 26 deletions pyDCONTINPALS/pyDCONTINPALSSpecSimulator.py
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
# -*- coding: utf-8 -*-

#*************************************************************************************************
#**")
#** Copyright (c) 2020-2021 Danny Petschke. All rights reserved.
#**")
#** 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.
#**
#** Copyright (c) 2020 Danny Petschke. All rights reserved.
#**
#** Redistribution and use in source and binary forms, with or without modification,
#** are permitted provided that the following conditions are met:
#**
#** 1. Redistributions of source code must retain the above copyright notice,
#** this list of conditions and the following disclaimer.
#**
#** 2. Redistributions in 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.
#**
#** 3. Neither the name of the copyright holder "Danny Petschke" nor the names of its
#** contributors may be used to endorse or promote products derived from this software
#** without specific prior written permission.
#**
#**
#** 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.
#** 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 http://www.gnu.org/licenses/.
#**
#** Contact: danny.petschke@uni-wuerzburg.de
#**
Expand Down

0 comments on commit 985cecf

Please sign in to comment.