Giter Club home page Giter Club logo

acycle's Issues

Bug in wavelet plots?

I was wondering if its a bug when you plot the wavelets and click on the graph to verify the values ( in the time domain) the pop up on show a different value that that along the y axis.

Wavelet analysis error message

Hi there,

I have just started using the Acycle Matlab version software and have been learning my way through it with the "Example #2: La2004 astronomical solution (ETP)" from the manual guide.

I am stuck at Step 6 where I can't perform the Wavelet analysis on the LR04.

I get the following error message on MATLAB:

Key parameters updated/changed. Re-run wavelet : done
Unrecognized function or variable 'fmin'.
Error in chisquare_inv (line 36)
X = fmin('chisquare_solve',MINN,MAXX,[0,TOLERANCE],P,V);
Error in wave_signif (line 145)
chisquare = chisquare_inv(siglvl,dof(a1))/dof(a1);
Error in wave_readGUI (line 137)
global_signif = wave_signif(variance,dt,scale,1,lag1,-1,dof,mother,param);
Error in waveletGUI>waveletGUI_OpeningFcn (line 436)
wave_readGUI
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in waveletGUI (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in AC>menu_waveletGUI_Callback (line 8607)
waveletGUI(handles);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in AC (line 92)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)AC('menu_waveletGUI_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating Menu Callback.

Can anyone help me figure out what I need to do?

Many thanks,
Florent

Plot Pro default: don't use dots but just show lines?

The regular plot command plots lines without dots. The Plot Pro options by default plots points as well, but usually when looking at spectra these are a distraction. Perhaps change the default to no dots for plot pro, but allow the user to add them if desired?

AR1 log/linear fit selection not functional

In the robust AR(1) estimation of the MTM spectral analysis, changing the AR(1) best fit model (1 = linear, 2 = log power) has no effect on the fits produced. Regardless of whether the linear or log-power fit is selected, the program appears to be generating a fit to the linear-scaled median-smoothed spectrum.

Add option to plot spectra as a function of period in stead of/in addition to frequency or add period on point click hover info

Many students are interested in the periods of their spectral peaks. Plotting against frequency is common, but it may be nice to add one of several suggestions below:

  • add an option to plot against period in stead of frequency (most people would be agains this, however)
  • add an option for a secondary x-axis above, with the period info. This would be a non-linear axis though
  • when you click any of the points/peaks in a spectrum, show the period in addition to the x- and y-values

When changing the bandpass filter settings, the plots don't zoom consistently

  1. select data
  2. filter
  3. change one of minimum or peak centre
  • the top plot (the Lomb-Scaigle (how do you write that?) changes the frequency axis accordingly
  • but the mtm spectrum doesn't change along with it.

this was on a chinese windows 10 computer, running with the matlab runtime. I'm not sure which versions of either were installed.

DYNOT module: a problem with starting the parallel pool

One Acycle user got a problem with starting the parallel pool when using the DYNOT approach.

OS: Windows 10
Acycle version: Acycle v2.2 MatLab version

Error message:

Error in using parpool (line 104)
Not enough input arguments.

Error DYNOS>pushbutton5_Callback (line 422)
            poolobj = parpool('local',numcore);

Error gui_mainfcn (line 95)
        feval(varargin{:});

Error DYNOS (line 46)
    gui_mainfcn(gui_State, varargin{:});

Error
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DYNOS('pushbutton5_Callback',hObject,eventdata,guidata(hObject)) 

Solution:

  • Enter MatLab command window prefdir, you will see an address

  • Go to the folder C:\Users\xxx\AppData\Roaming\MathWorks\MATLAB\R20XX

  • Up one level: C:\Users\xxx\AppData\Roaming\MathWorks\MATLAB\

  • Delete the folder local_cluster_jobs

  • Restart MatLab and Acycle

Please let me [ limingsonglms{at}gmail{dot}com ] know if this doesn't work.

Acycle stand-alone version for Windows crashes

Background: Acycle standalone version for Windows + MatLab Runtime

Forwarded Description:

I have been using acycle a lot today and one hour ago I had this message:

Undefined function or variable 'matlabrc'

So I deleted everything and reinstalled it all. It worked for about 10 minutes and then again it doesn't work.

I receive an error message:

Warning: Can't find the resource file 'toolbox\local\hgrc.m' needed by 'c:Program File\... ?\hg.dll'
- Undefined function or variable 'matlabrc'
- Undefined function or variable 'ctfroot' 
- Error in runtimeInitializationChecks (line 23)
- Undefined function or variable 'ctfroot'

I tried to deinstall and reinstall Matlab Runtime and Acycle, even that won't work.

I am not able to install Acycle it anymore (the process of the installation starts and finishes quickly but then the program doesn't start).

detrending options are cached from previous dialog box

  1. depth series
  2. timeseries > detrending
  3. pick one of the operations, click ok, select it from dropdown, leave window open
  4. select record, open new detrending dialog, select another option, click ok, dropdown doesn't show new correct operation and if you click previously listed one it doesn't perform any operation on the series.

windows 10
matlab ver

-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.6.0.1072779 (R2019a)
MATLAB License Number: 1088092
Operating System: Microsoft Windows Server 2012 R2 Datacenter Version 6.3
(Build 9600)
Java Version: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM)
64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB                                                Version 9.6
(R2019a)
Simulink                                              Version 9.3
(R2019a)
Bioinformatics Toolbox                                Version 4.12
 (R2019a)
Computer Vision Toolbox                               Version 9.0
(R2019a)
Control System Toolbox                                Version 10.6
 (R2019a)
Curve Fitting Toolbox                                 Version 3.5.9
(R2019a)
DSP System Toolbox                                    Version 9.8
(R2019a)
Data Acquisition Toolbox                              Version 4.0
(R2019a)
Database Toolbox                                      Version 9.1
(R2019a)
Deep Learning Toolbox                                 Version 12.1
 (R2019a)
Econometrics Toolbox                                  Version 5.2
(R2019a)
Financial Toolbox                                     Version 5.13
 (R2019a)
Global Optimization Toolbox                           Version 4.1
(R2019a)
Image Processing Toolbox                              Version 10.4
 (R2019a)
Instrument Control Toolbox                            Version 4.0
(R2019a)
MATLAB Compiler                                       Version 7.0.1
(R2019a)
Mapping Toolbox                                       Version 4.8
(R2019a)
Optimization Toolbox                                  Version 8.3
(R2019a)
Parallel Computing Toolbox                            Version 7.0
(R2019a)
Partial Differential Equation Toolbox                 Version 3.2
(R2019a)
Signal Processing Toolbox                             Version 8.2
(R2019a)
Simscape                                              Version 4.6
(R2019a)
Simscape Multibody                                    Version 6.1
(R2019a)
Simulink Control Design                               Version 5.3
(R2019a)
Spreadsheet Link                                      Version 3.4.1
(R2019a)
Stateflow                                             Version 10.0
 (R2019a)
Statistics and Machine Learning Toolbox               Version 11.5
 (R2019a)
Symbolic Math Toolbox                                 Version 8.3
(R2019a)
System Identification Toolbox                         Version 9.10
 (R2019a)
Wavelet Toolbox                                       Version 5.2
(R2019a)

acycle ver 2.0 (1.4 in command line)

Copying multiple records at once to a subdirectory duplicates the values of the first record

  1. from within acycle, copy multiple different records at once to a new directory
  • the new copies have the correct names, but all get the values from the first record
    This is a pretty major bug, I think :).

windows 10
matlab ver

-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.6.0.1072779 (R2019a)
MATLAB License Number: 1088092
Operating System: Microsoft Windows Server 2012 R2 Datacenter Version 6.3
(Build 9600)
Java Version: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM)
64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB                                                Version 9.6
(R2019a)
Simulink                                              Version 9.3
(R2019a)
Bioinformatics Toolbox                                Version 4.12
 (R2019a)
Computer Vision Toolbox                               Version 9.0
(R2019a)
Control System Toolbox                                Version 10.6
 (R2019a)
Curve Fitting Toolbox                                 Version 3.5.9
(R2019a)
DSP System Toolbox                                    Version 9.8
(R2019a)
Data Acquisition Toolbox                              Version 4.0
(R2019a)
Database Toolbox                                      Version 9.1
(R2019a)
Deep Learning Toolbox                                 Version 12.1
 (R2019a)
Econometrics Toolbox                                  Version 5.2
(R2019a)
Financial Toolbox                                     Version 5.13
 (R2019a)
Global Optimization Toolbox                           Version 4.1
(R2019a)
Image Processing Toolbox                              Version 10.4
 (R2019a)
Instrument Control Toolbox                            Version 4.0
(R2019a)
MATLAB Compiler                                       Version 7.0.1
(R2019a)
Mapping Toolbox                                       Version 4.8
(R2019a)
Optimization Toolbox                                  Version 8.3
(R2019a)
Parallel Computing Toolbox                            Version 7.0
(R2019a)
Partial Differential Equation Toolbox                 Version 3.2
(R2019a)
Signal Processing Toolbox                             Version 8.2
(R2019a)
Simscape                                              Version 4.6
(R2019a)
Simscape Multibody                                    Version 6.1
(R2019a)
Simulink Control Design                               Version 5.3
(R2019a)
Spreadsheet Link                                      Version 3.4.1
(R2019a)
Stateflow                                             Version 10.0
 (R2019a)
Statistics and Machine Learning Toolbox               Version 11.5
 (R2019a)
Symbolic Math Toolbox                                 Version 8.3
(R2019a)
System Identification Toolbox                         Version 9.10
 (R2019a)
Wavelet Toolbox                                       Version 5.2
(R2019a)

acycle v2.0 in title of screen, 1.4 in matlab command line

Log transform of negative values

When log-transforming time series with negative values, two unexpected things can happen:

  1. When the "Logarithm" option is selected (resulting in automatic selection of "log10"), no error is thrown, and the original data is displayed twice. Clicking "OK and save data" leads to a new file with name appendix "-" that is a duplicate of the original data. Given the selected options, this is unexpected
  2. When the "log 10" or "ln" option is selected directly, and "OK and save data" is selected, a new file with appendix "-log10" (or "-ln") is generated, which contains imaginary values. This throws a warning in the console Imaginary parts of complex X and/or Y arguments ignored., the histogram breaks, and a corresponding downstream error in the console:
In datatransformationsGUI/updateplot1 (line 564)
In datatransformationsGUI/checkradio (line 507)
In waitforallfiguresclosed (line 16)
Error using datatransformationsGUI/updateplot1 (line 569)
Error using ylim in subplot(2,2,3). Results may have complex values???

Error in datatransformationsGUI/checkradio (line 507)

Error using waitforallfiguresclosed (line 16)
Error while evaluating UIControl Callback.

Contrary to the warning, imaginary parts can lead to NaNs when further analyses are run, e.g. rloess detrending. Trying to log transform negative values should throw an error.

This is on Acycle2.8-Win-Green with Matlab runtime

Several errors on one machine (due to lack of toolbox?): document required toolboxes

Hi! Here are the first bugs that a student experienced. It looks like in this case it's the lack of the Signal Processing Toolbox.

Running spectral analysis doesn't work:

  1. make basic series ETP La2004 1--1000 (works)
  2. run mtm on series
    output of matlab command line:
Error in redconfML (line 69)
[pxx,f] = pmtm(x,nw,nfft);

Error in spectrum>pushbutton17_Callback (line 889)
                [rhoM,
s0M,redconfAR1,redconfML96]=redconfML(datax,dt,nw,nzeropad,linlog,smoothwin,fmax,1);

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in spectrum (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)spectrum('pushbutton17_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

Creating insolation series doesn't work:

  1. make basic series insolation daily La2004 1--1000
    warning dialog:
    Check time scale input, t must be larger than 0 and less than 249000 ka
    no error messages

ESA/wavelet both work as expected

Age scale results in empty plot in stead of dialog box when only age model is selected

  1. click age scale
  2. select an age model, but not a depth series
  3. click ok
    empty plot, following error messages on command line
Error using load
File name is empty.

Error in agescale>pushbutton8_Callback (line 303)
    data = load(data_name);

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in agescale (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)agescale('pushbutton8_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

Error using load
File name is empty.

Error in agescale>pushbutton8_Callback (line 303)
    data = load(data_name);

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in agescale (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)agescale('pushbutton8_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

This student has:
windows 10
matlab 9.7 R2019b
matlab toolboxes:

  • simulink 10.0
  • statistics and machine learning toolbox 11.6
  • symbolic math toolbox 8.4
    acycle v1.4

I will update when the student manages to install the Signal Processing Toolbox :).

Default options override not set permanently in dialog boxes (e.g. in insolation)

  1. create insolation time series
  2. change one of the default options and click ok
  3. create a new insolation series
  • options still show the previously changed values (this is expected)
  • but results are not using those values but return to the defaults!
    (e.g. change 65 degrees to 25, make the series, then click insolation again, it says 25 but generates 65 when you click ok).

This error occurred with all students! And apparently not only with insolation.

but here is the info for the student who helped me report it:
windows 10
matlab 9.7 R2019b
matlab toolboxes:

  • simulink 10.0
  • statistics and machine learning toolbox 11.6
  • symbolic math toolbox 8.4
    acycle v1.4

MacOS 10.15 Catalina and Acycle bug

From users of macOS 10.15 Catalina:

  1. The Acycle installer launcher stops very early.
  2. Then I tried the ‘green’ one. To do that I installed the Matlab runtime (the latest version 2019b for 64 bits) (I tried with 2019a with the same results). When I launch Acycle, I got this error message from a pop-up window:

`---------------------------------------

  Cannot locate a valid install area 

`---------------------------------------

And

xxxxx@xxxxx-MacBook-Pro ~ % /Applications/acycle.app/Contents/MacOS/applauncher ; exit;
dyld: Symbol not found: _mecab_get_feature
  Referenced from: /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
  Expected in: /Applications/MATLAB/MATLAB_Runtime/v96/bin/maci64/libmecab.dylib
 in /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
zsh: abort      /Applications/acycle.app/Contents/MacOS/applauncher
 
[Process completed]

LAPACK loading error

Home version of Win10, and cannot perform trend analysis, filtering, spectrum analysis, etc

警告: 在为表创建变量名称之前,对文件中的列标题进行了修改,以使其成为有效的 MATLAB 标识符。原始列标题保存在 VariableDescriptions 属性中。
将 'VariableNamingRule' 设置为 'preserve' 以使用原始列标题作为表变量名称。
警告: JavaFrame 图窗属性将在以后的版本中删除。有关详细信息,请参阅 mathworks.com 上的 MATLAB App 的 UI 替代。

位置:AC>AC_OpeningFcn (第 636 行)
位置: gui_mainfcn (第 220 行)
位置: AC (第 92 行)
位置: ac (第 123 行)
错误使用 qr
LAPACK 加载错误:
mllapack.dll: ????????????顣

出错 smooth>unifloess (第 574 行)

出错 smooth>lowess (第 296 行)

出错 smooth (第 176 行)

出错 update_detrend_plot_fig (第 141 行)

出错 prewhiten>prewhiten_lowess_checkbox_Callback (第 236 行)

出错 gui_mainfcn (第 95 行)

出错 prewhiten (第 42 行)

出错 matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)prewhiten('prewhiten_lowess_checkbox_Callback',hObject,eventdata,guidata(hObject))

错误使用 waitforallfiguresclosed (第 16 行)
计算 UIControl Callback 时出错。

colormap scale bug

Question:
The last update (acycle 1.2) in the evolutionary spectral analysis does not plot the colormap scale as in old versions.

demean user interface is unintuitive

Many students struggled to understand the UI of the demean dialog box.

We've worked out that the correct procedure to get output is:

  1. select series
  2. click demean option from menu
  3. mark one or more of the boxes of the analyses (LOESS, demean, linear etc.) you want to do
  4. click OK
  5. inspect plot
  6. select the analysis you want to save from the dropdown menu to save the output

This last step is confusing, people seem to expect that when you click OK the output will be saved. If you select multiple, I think it should just save all versions separately upon clicking OK or perhaps change the word in the OK dialog to something like Plot.

version info omitted since this is the same for all versions we've seen

cross-spectral analysis

Hi there,

I'm using the standalone Windows 2.4.1 version, and the cross-spectral analysis doesn't run. I have selected two evenly spaced time series (CTRL+both series) on the main menu -> Timeserires -> Wavelet, and then the following error appears:

Error in waveletGUI>waveletGUI_OpeningFcn (line 217)

Error in gui_mainfcn (line 220)

Error in waveletGUI (line 42)

Error in AC>menu_waveletGUI_Callback (line 5609)

Error in gui_mainfcn (line 95)

Error in AC (line 94)

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)AC('menu_waveletGUI_Callback',hObject,eventdata,guidata(hObject))

Error using waitforallfiguresclosed (line 16)
Error while evaluating Menu Callback.

Bug in wavelet coherence and cross spectrum analysis

I'm trying to do cross spectrum analysis however according to the manual I'm suppose to select two files and the user interface would change, but after I select the two files the user interface remained the same and it returns with an error message of
请求的数组超过允许的最大变量大小。

出错 wave_readGUI (第 236 行)

出错 waveletGUI>popupmenu1_Callback (第 882 行)

出错 gui_mainfcn (第 95 行)

出错 waveletGUI (第 42 行)

出错 matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)waveletGUI('popupmenu1_Callback',hObject,eventdata,guidata(hObject))

错误使用 waitforallfiguresclosed (第 16 行)
计算 UIControl Callback 时出错。

Key parameters updated/changed. Re-run wavelet : done
请求的数组超过允许的最大变量大小。

出错 wave_readGUI (第 236 行)

出错 waveletGUI>pushbutton2_Callback (第 501 行)

出错 gui_mainfcn (第 95 行)

出错 waveletGUI (第 42 行)

出错 matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)waveletGUI('pushbutton2_Callback',hObject,eventdata,guidata(hObject))

错误使用 waitforallfiguresclosed (第 16 行)
计算 UIControl Callback 时出错。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.