Comments (7)
Have you tried calling the acor
function instead of the module? The usage is given here: https://github.com/dfm/acor#usage
from acor.
Also: I'd recommend checking out the autocorr
module in emcee http://dan.iel.fm/emcee/current/api/#autocorrelation-analysis because it's a bit more reliable. acor
will be marginally faster but it will probably only be worth it if you need to compute many autocorrelation times on datasets with billions of points.
from acor.
If I call the acor function, I get:
AttributeError: module 'acor' has no attribute 'acor'
from acor.
Sounds like it didn't get installed then. How did you install the package?
from acor.
pip install acor
from acor.
I dunno then. Try cloning from github and installing that way. No one has touched this project in 3 years so it's definitely use at your own risk! I'd still recommend the algorithm in emcee before this one.
from acor.
This is the same issue as #4. My workaround (for python3.5 and newer) is to replace in acor/acor.py
import _acor
by
import acor._acor as _acor
Then the acor function can be used after importing as import acor.acor as acor
.
Seems the pip package installed by
pip3 install acor
(states to be acor-1.1.1) is out-dated, the Github code is more recent and fixes this?
from acor.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acor.