-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* JWave is distributed under the MIT License (MIT); this file is part of. | ||
* | ||
* Copyright (c) 2008-2018 Christian Scheiblich ([email protected]) | ||
* | ||
* Copyright (c) 2008-2020 Christian Scheiblich ([email protected]) | ||
* | ||
* 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 | ||
|
@@ -32,7 +32,7 @@ | |
* type and a wavelet by their names. However, this should only make a quick n | ||
* dirty test available by skipping the JUnit framework. JWave is supported as a | ||
* library and foreseen to be used like this. | ||
* | ||
* | ||
* @date 23.02.2010 14:26:47 | ||
* @author Christian Scheiblich ([email protected]) | ||
*/ | ||
|
@@ -53,7 +53,7 @@ public class JWave { | |
* currently supported in Hilbert space. Anyway, this little example already | ||
* reveals the application power of wavelets. that can be used for any kind of | ||
* data! | ||
* | ||
* | ||
* @date 23.02.2010 14:26:47 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param args | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* JWave is distributed under the MIT License (MIT); this file is part of. | ||
* | ||
* Copyright (c) 2008-2018 Christian Scheiblich ([email protected]) | ||
* | ||
* Copyright (c) 2008-2020 Christian Scheiblich ([email protected]) | ||
* | ||
* 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 | ||
|
@@ -36,7 +36,7 @@ | |
/** | ||
* Base class for transforms like DiscreteFourierTransform, FastBasicTransform, | ||
* and WaveletPacketTransform. | ||
* | ||
* | ||
* @date 19.05.2009 09:43:40 | ||
* @author Christian Scheiblich ([email protected]) | ||
*/ | ||
|
@@ -50,7 +50,7 @@ public final class Transform { | |
/** | ||
* Constructor; needs some object like DiscreteFourierTransform, | ||
* FastBasicTransform, WaveletPacketTransfom, ... | ||
* | ||
* | ||
* @date 19.05.2009 09:50:24 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param transform | ||
|
@@ -71,7 +71,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the forward transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.02.2010 09:41:01 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrTime | ||
|
@@ -91,7 +91,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the reverse transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.02.2010 09:42:18 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrHilb | ||
|
@@ -111,7 +111,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs a forward transform to a certain level of Hilbert space. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 11:53:05 | ||
* @param arrTime | ||
|
@@ -134,7 +134,7 @@ public Transform( BasicTransform transform ) { | |
/** | ||
* Performs a reverse transform for a Hilbert space of certain level; level | ||
* has to match the supported coefficients in the array! | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 11:54:59 | ||
* @param arrHilb | ||
|
@@ -159,7 +159,7 @@ public Transform( BasicTransform transform ) { | |
* Performs the forward transform from time domain to frequency or Hilbert | ||
* domain for a given array depending on the used transform algorithm by | ||
* inheritance. | ||
* | ||
* | ||
* @date 23.11.2010 19:19:24 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrTime | ||
|
@@ -181,7 +181,7 @@ public Transform( BasicTransform transform ) { | |
* Performs the reverse transform from frequency or Hilbert domain to time | ||
* domain for a given array depending on the used transform algorithm by | ||
* inheritance. | ||
* | ||
* | ||
* @date 23.11.2010 19:19:33 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrFreq | ||
|
@@ -201,7 +201,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 2-D forward transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.02.2010 10:58:54 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param matrixTime | ||
|
@@ -221,7 +221,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 2-D reverse transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.02.2010 10:59:32 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param matrixFreq | ||
|
@@ -242,7 +242,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 2-D forward transform of the specified BasicWave object. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 14:40:54 | ||
* @param matrixTime | ||
|
@@ -267,7 +267,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 2-D reverse transform of the specified BasicWave object. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 14:42:12 | ||
* @param matrixFreq | ||
|
@@ -293,7 +293,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 3-D forward transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.07.2010 18:15:22 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param matrixTime | ||
|
@@ -313,7 +313,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 3-D reverse transform of the specified BasicWave object. | ||
* | ||
* | ||
* @date 10.07.2010 18:15:33 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param matrixFreq | ||
|
@@ -334,7 +334,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 3-D forward transform of the specified BasicWave object. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 14:45:46 | ||
* @param spaceTime | ||
|
@@ -361,7 +361,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Performs the 3-D reverse transform of the specified BasicWave object. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 14:46:09 | ||
* @param spaceHilb | ||
|
@@ -390,7 +390,7 @@ public Transform( BasicTransform transform ) { | |
/** | ||
* Generates from a 1D signal a 2D output, where the second dimension are the | ||
* levels of the wavelet transform. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 17.08.2014 10:07:19 | ||
* @param arrTime | ||
|
@@ -411,7 +411,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Generates from a 2-D decomposition a 1-D time series. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 17.08.2014 10:07:19 | ||
* @param matDeComp | ||
|
@@ -432,7 +432,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Recompose signal from a certain level of decomposition. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 22.03.2015 10:08:52 | ||
* @param matDeComp | ||
|
@@ -452,7 +452,7 @@ public Transform( BasicTransform transform ) { | |
|
||
/** | ||
* Return the used object of type BasicTransform. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 14.03.2015 18:19:13 | ||
* @return identifier of object of type Basic Transform | ||
|
@@ -483,7 +483,7 @@ public final BasicTransform getBasicTransform( ) { | |
|
||
/** | ||
* Returns the used Wavelet object or null pointer. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 14.03.2015 18:58:50 | ||
* @return object of type Wavelet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* JWave is distributed under the MIT License (MIT); this file is part of. | ||
* | ||
* Copyright (c) 2008-2018 Christian Scheiblich ([email protected]) | ||
* | ||
* Copyright (c) 2008-2020 Christian Scheiblich ([email protected]) | ||
* | ||
* 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 | ||
|
@@ -29,7 +29,7 @@ | |
* Basic class for one wavelet keeping coefficients of the wavelet function, the | ||
* scaling function, the base wavelength, the forward transform method, and the | ||
* reverse transform method. | ||
* | ||
* | ||
* @date 10.02.2010 08:54:48 | ||
* @author Christian Scheiblich ([email protected]) | ||
*/ | ||
|
@@ -76,7 +76,7 @@ public abstract class Wavelet { | |
|
||
/** | ||
* Constructor; predefine members to default values or null! | ||
* | ||
* | ||
* @date 15.02.2014 22:16:27 | ||
* @author Christian Scheiblich ([email protected]) | ||
*/ | ||
|
@@ -97,7 +97,7 @@ public Wavelet( ) { | |
* for the wavelet (high pass) of reconstruction. This method should be called | ||
* in the constructor of an orthonormal filter directly after defining the | ||
* orthonormal coefficients of the scaling (low pass) for decomposition! | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 16.02.2014 13:19:27 | ||
*/ | ||
|
@@ -144,7 +144,7 @@ public String toString( ) { | |
|
||
/** | ||
* Returns the wavelength of the so called mother wavelet or scaling function. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 15.02.2014 22:06:12 | ||
* @return the minimal wavelength for the mother wavelet | ||
|
@@ -156,7 +156,7 @@ public int getMotherWavelength( ) { | |
/** | ||
* Returns the minimal necessary wavelength for a signal that can be | ||
* transformed by this wavelet. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 15.02.2014 22:08:43 | ||
* @return integer representing minimal wavelength of the input signal that | ||
|
@@ -169,20 +169,20 @@ public int getTransformWavelength( ) { | |
/** | ||
* Returns a copy of the scaling (low pass filter) coefficients of | ||
* decomposition. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 15.02.2010 22:11:42 | ||
* @return array of length of the mother wavelet wavelength keeping the | ||
* decomposition low pass filter coefficients | ||
*/ | ||
public final double[ ] getScalingDeComposition( ) { | ||
return Arrays.copyOf( _scalingDeCom, _scalingDeCom.length ); | ||
} // getScalingDeComposition | ||
} // getScalingDeComposition | ||
|
||
/** | ||
* Returns a copy of the wavelet (high pass filter) coefficients of | ||
* decomposition. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 15.02.2014 22:11:25 | ||
* @return array of length of the mother wavelet wavelength keeping the | ||
|
@@ -195,7 +195,7 @@ public int getTransformWavelength( ) { | |
/** | ||
* Returns a copy of the scaling (low pass filter) coefficients of | ||
* reconstruction. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 16.02.2014 10:35:11 | ||
* @return array of length of the mother wavelet wavelength keeping the | ||
|
@@ -208,7 +208,7 @@ public int getTransformWavelength( ) { | |
/** | ||
* Returns a copy of the wavelet (high pass filter) coefficients of | ||
* reconstruction. | ||
* | ||
* | ||
* @author Christian Scheiblich ([email protected]) | ||
* @date 16.02.2014 10:35:09 | ||
* @return array of length of the mother wavelet wavelength keeping the | ||
|
@@ -223,7 +223,7 @@ public int getTransformWavelength( ) { | |
* Hilbert domain and returns a new array of the same size keeping | ||
* coefficients of Hilbert domain and should be of length 2 to the power of p | ||
* -- length = 2^p where p is a positive integer. | ||
* | ||
* | ||
* @date 10.02.2010 08:18:02 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrTime | ||
|
@@ -253,7 +253,7 @@ public int getTransformWavelength( ) { | |
|
||
} // Sorting each step in patterns of: { scaling coefficients | wavelet coefficients } | ||
|
||
} // h = 2^(p-1) | p = { 1, 2, .., N } .. shrinks in each step by half wavelength | ||
} // h = 2^(p-1) | p = { 1, 2, .., N } .. shrinks in each step by half wavelength | ||
|
||
return arrHilb; | ||
|
||
|
@@ -264,7 +264,7 @@ public int getTransformWavelength( ) { | |
* time domain and returns a new array of the same size keeping coefficients | ||
* of time domain and should be of length 2 to the power of p -- length = 2^p | ||
* where p is a positive integer. | ||
* | ||
* | ||
* @date 10.02.2010 08:19:24 | ||
* @author Christian Scheiblich ([email protected]) | ||
* @param arrHilb | ||
|
@@ -296,7 +296,7 @@ public int getTransformWavelength( ) { | |
|
||
} // Reconstruction from patterns of: { scaling coefficients | wavelet coefficients } | ||
|
||
} // h = 2^(p-1) | p = { 1, 2, .., N } .. shrink in each step by half wavelength | ||
} // h = 2^(p-1) | p = { 1, 2, .., N } .. shrink in each step by half wavelength | ||
|
||
return arrTime; | ||
|
||
|