You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./pyaneti.py", line 14, in
import pyaneti as pti #FORTRAN module
File "/Users/shojjatpanah/pyaneti/pyaneti.py", line 59, in
joint_fit()
File "src/todo-py.py", line 549, in joint_fit
pti.mcmc_stretch_move(
AttributeError: 'module' object has no attribute 'mcmc_stretch_move'
The text was updated successfully, but these errors were encountered:
File "", line 660, in joint_fit
AttributeError: module 'pyaneti' has no attribute 'mcmc_stretch_move'
(In my case, using WSLg Ubuntu 18.04 under Windows 11)
The problem is with the Fortran to Python Interface in the makefile (f2py3.6)
After changing the 1st line from
FP=f2py3.6
to
FP=f2py
and compiling again, the problem was solved
In my system f2py3.6 has numpy version 1.13.3 and f2py has version 1.20.1
So, an updated version of the interface should solve the problem.
$ ./pyaneti.py test
==============================
Star = test
No. planets = 1
iter max = 100000000
thin factor = 1
nconv = 500
nwalkers = 100
fit RV = [True]
fit Transit = [True]
LC data = free
cadence time = 30.000 min
n rebinning = 1
Stellar priors = [True]
PLANET testb
T0 = u[ 2448285.0500 , 2448285.1500 ]
P = u[ 365.2060 , 365.3060 ]
ew1= f[ 0.0000 , 1.0000 ]
ew2= f[ 0.0000 , 1.0000 ]
b = f[ 0.0000 , 1.0000 ]
a = g[ 200.0000 , 250.0000 ]
rp = u[ 0.0000 , 0.1000 ]
K = u[ 0.0000 , 0.0010 ]
Other parameter priors
q1 = g[ 0.3464 , 0.0500 ]
q2 = g[ 0.2839 , 0.0500 ]
Super_telescope = u[ 21.9719 , 22.1721 ]
Traceback (most recent call last):
File "./pyaneti.py", line 14, in
import pyaneti as pti #FORTRAN module
File "/Users/shojjatpanah/pyaneti/pyaneti.py", line 59, in
joint_fit()
File "src/todo-py.py", line 549, in joint_fit
pti.mcmc_stretch_move(
AttributeError: 'module' object has no attribute 'mcmc_stretch_move'
The text was updated successfully, but these errors were encountered: