[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

View File

@ -0,0 +1,43 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_BARTLETT_H
#define SEISCOMP_MATH_WINDOWS_BARTLETT_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API BartlettWindow : public WindowFunc<TYPE> {
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
};
}
}
#endif

View File

@ -0,0 +1,51 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_BLACKMAN_H
#define SEISCOMP_MATH_WINDOWS_BLACKMAN_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API BlackmanWindow : public WindowFunc<TYPE> {
public:
BlackmanWindow(TYPE alpha = 0.16);
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
private:
TYPE _alpha;
};
}
}
#endif

View File

@ -0,0 +1,43 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_COSINE_H
#define SEISCOMP_MATH_WINDOWS_COSINE_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API CosineWindow : public WindowFunc<TYPE> {
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
};
}
}
#endif

View File

@ -0,0 +1,43 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_HAMMING_H
#define SEISCOMP_MATH_WINDOWS_HAMMING_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API HammingWindow : public WindowFunc<TYPE> {
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
};
}
}
#endif

View File

@ -0,0 +1,43 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_HANN_H
#define SEISCOMP_MATH_WINDOWS_HANN_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API HannWindow : public WindowFunc<TYPE> {
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
};
}
}
#endif

View File

@ -0,0 +1,43 @@
/***************************************************************************
* Copyright (C) gempa GmbH *
* All rights reserved. *
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
* *
* GNU Affero General Public License Usage *
* This file may be used under the terms of the GNU Affero *
* Public License version 3.0 as published by the Free Software Foundation *
* and appearing in the file LICENSE included in the packaging of this *
* file. Please review the following information to ensure the GNU Affero *
* Public License version 3.0 requirements will be met: *
* https://www.gnu.org/licenses/agpl-3.0.html. *
* *
* Other Usage *
* Alternatively, this file may be used in accordance with the terms and *
* conditions contained in a signed written agreement between you and *
* gempa GmbH. *
***************************************************************************/
#ifndef SEISCOMP_MATH_WINDOWS_TRIANGLE_H
#define SEISCOMP_MATH_WINDOWS_TRIANGLE_H
#include "../windowfunc.h"
namespace Seiscomp {
namespace Math {
template <typename TYPE>
class SC_SYSTEM_CORE_API TriangleWindow : public WindowFunc<TYPE> {
protected:
virtual void process(int n, TYPE *inout, double left = 0.5, double right = 0.5) const override;
};
}
}
#endif