Giter Club home page Giter Club logo

bisip's People

Contributors

clberube avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bisip's Issues

Extract all traces to a single csv file

Feature request:
Add a function to invResults.py that extracts the traces of each parameter and saves to a single csv file.

Code draft:

import numpy as np
def csv_traces(sol):
    # Saves the traces contained in mcmcinv object sol to a single csv file.
    trace_matrix = np.empty((len(sol.params), iterations-burnin))
    for i in range(len(sol.params)):
        trace_matrix[i] = sol.MDL.trace(sol.params[i])[:]
    headers = list(sol.params).join(',')
    np.savetxt('traceofparameters.csv', trace_matrix, delimiter=',', header=headers, comments="")

Python 3 compatibility

Dear Charles,
great work that can be of value for many SIP people! Thanks for sharing it.
I noticed that it only works for Python 2 (I guess only 2.7 as the pyd is linked against it). However, after long years of coexistence of Python 2 and Python 3, the days of Python 2 are over and all distributions are moving to Python 3 only as planned many years ago. So did we, not distributing any 2.7 stuff anymore.

Making the code compatible with both Python 2 and 3 should be easy using the future module (http://python-future.org) or 2to3 tools. I would appreciate it and I am sure it would increase users a lot.
Thomas

BISIP executable (Workplace) and BISIP-master code don't fit the same

I have a .dat file that I want to inverse with BISIP.

When I try to do the inversion with a Pelton Cole-Cole model ( 2 modes) on the BISIP executable, it works fine.
But when I want to do it with the BISIP python shell, it doesn't fit anymore for the exact same model.

Any Idea on how to solve this problem?

Misfit Computing

Is it possible to have a function that calculates the misfit of the data once the model has be drawn?

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.