Skip to content

Commit

Permalink
changed licence to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
jankoslavic committed Aug 29, 2023
1 parent c58061b commit 0fdf4fd
Show file tree
Hide file tree
Showing 6 changed files with 3,354 additions and 257 deletions.
36 changes: 21 additions & 15 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Copyright (C) 2014-2017 Primož Čermelj, Matjaž Mršnik, Miha Pirnat, Janko Slavič, Blaž Starc (in alphabetic order)
#
# This file is part of OpenModal.
#
# OpenModal 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, version 3 of the License.
#
# OpenModal 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 OpenModal. If not, see <http://www.gnu.org/licenses/>.
MIT License

Acknowledgement: from 2014-2017 this package was part of the OpenModal project

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.
2 changes: 1 addition & 1 deletion pyuff/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.2"
__version__ = "2.3"
from .pyuff import *
from .datasets import *

29 changes: 5 additions & 24 deletions pyuff/pyuff.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2014-2017 Primož Čermelj, Matjaž Mršnik, Miha Pirnat, Janko Slavič, Blaž Starc (in alphabetic order)
#
# This file is part of pyuff.
#
# pyFRF 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, version 3 of the License.
#
# pyuff 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 pyuff. If not, see <http://www.gnu.org/licenses/>.
"""
==========
pyuff module
==========
This module is part of the www.openmodal.com project and
defines an UFF class to manipulate with the
This module defines an UFF class to manipulate with the
UFF (Universal File Format) files, i.e., to read from and write
to UFF files. Among the variety of UFF formats, only some of the
formats (data-set types) frequently used in structural dynamics
Expand All @@ -44,14 +26,13 @@
* This source (py2.7) was first written in 2007, 2008 by Primoz Cermelj (primoz.cermelj@gmail.com)
* As part of the www.openmodal.com project the first source was adopted for Python 3 by
Matjaz Mrsnik <matjaz.mrsnik@gmail.com>
* 2014-2017 the package was part of the OpenModal project maintained by: Martin Česnik,
Matjaž Mršnik, Miha Pirnat, Janko Slavič, Blaž Starc (in alphabetic order)
* The package is maintained by Janko Slavič <janko.slavic@fs.uni-lj.si>
Notes:
* 58 data-set is always written in double precision, even if it is
read in single precision.
* ``numpy`` module is required as all the vector/matrix-type data are read
or written using ``numpy.array`` objects.
* by default 58 data-set is written in double precision (see option `force_double=True`),
even if it is read in single precision ().
Example:
>>> import pyuff
Expand Down
Loading

0 comments on commit 0fdf4fd

Please sign in to comment.