scientific-computing

ImportError: No module named fixedpickle when running PyDsTool on Windows 7

跟風遠走 提交于 2019-11-30 19:44:27
问题 I have downloaded PyDsTool for Windows. And I believe I have pointed python in the correct location. But I get the following error from PyDSTool import * Traceback (most recent call last): File "<ipython-input-1-7b811358a37e>", line 1, in <module> from PyDSTool import * File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\__init__.py", line 85, in <module> from .Events import * File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\Events.py", line

Scientific Programming with Ruby

南楼画角 提交于 2019-11-30 07:19:16
I was doing the mathematical calculations with python or octave because of availability of really nice functions and libraries at hand. But recently I gained interest in ruby and I wonder if there is an equivalent in Ruby to the numpy, scipy in Python for scientific programming. Specifically, I'm looking something that I can draw plots as in matplotlib and do mathematical, algebraic calculations quickly as in numpy and scipy. Linear algebra is at the heart of most large-scale scientific computing. LAPACK is the gold standard for linear algebra libraries, first written in FORTRAN. There's a

Plotting with C# [closed]

☆樱花仙子☆ 提交于 2019-11-30 06:15:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . C# seems to show some promise for scientific computing, but I found very little about one plotting 2D graphs, which is very important both for science student and scientists. Is there a reliable, free, way to create publication quality 2D plot with C# ? And the capacity to save to several formats (png, eps, ...)

Plotting with C# [closed]

荒凉一梦 提交于 2019-11-29 19:50:14
C# seems to show some promise for scientific computing, but I found very little about one plotting 2D graphs, which is very important both for science student and scientists. Is there a reliable, free, way to create publication quality 2D plot with C# ? And the capacity to save to several formats (png, eps, ...). Something similar to Python's matplotlib ? There is Oxyplot which I recommend and also there is Live-Charts (see update2). Oxyplot has packages for WPF, Metro, Silverlight, Windows Forms, Avalonia UI, XWT. Besides graphics it can export to Svg, Pdf, OpenXml, etc. And it even supports

Open source alternative to MATLAB's fmincon function?

末鹿安然 提交于 2019-11-29 19:45:00
Is there an open-source alternative to MATLAB's fmincon function for constrained linear optimization? I'm rewriting a MATLAB program to use Python / NumPy / SciPy and this is the only function I haven't found an equivalent to. A NumPy-based solution would be ideal, but any language will do. Is your problem convex? Linear? Non-linear? I agree that SciPy.optimize will probably do the job, but fmincon is a sort of bazooka for solving optimization problems, and you'll be better off if you can confine it to one of the categories below (in increasing level of difficulty to solve efficiently) Linear

F# performance in scientific computing

天涯浪子 提交于 2019-11-29 18:48:15
I am curious as to how F# performance compares to C++ performance? I asked a similar question with regards to Java, and the impression I got was that Java is not suitable for heavy numbercrunching. I have read that F# is supposed to be more scalable and more performant, but how is this real-world performance compares to C++? specific questions about current implementation are: How well does it do floating-point? Does it allow vector instructions how friendly is it towards optimizing compilers? How big a memory foot print does it have? Does it allow fine-grained control over memory locality?

Writing robust and “modern” Fortran code

ぃ、小莉子 提交于 2019-11-29 18:41:43
In some scientific environments, you often cannot go without FORTRAN as most of the developers only know that idiom, and there is lot of legacy code and related experience. And frankly, there are not many other cross-platform options for high performance programming (C++ would do the task, but the syntax, zero-starting arrays, and pointers are not compatible with some people). So, let's assume a new project must use Fortran 90, but I want to build the most modern software architecture out of it, while being compatible with most recent compilers (Intel ifort, but also including the Sun/HP/IBM

Scientific Programming with Ruby

喜你入骨 提交于 2019-11-29 09:27:28
问题 I was doing the mathematical calculations with python or octave because of availability of really nice functions and libraries at hand. But recently I gained interest in ruby and I wonder if there is an equivalent in Ruby to the numpy, scipy in Python for scientific programming. Specifically, I'm looking something that I can draw plots as in matplotlib and do mathematical, algebraic calculations quickly as in numpy and scipy. 回答1: Linear algebra is at the heart of most large-scale scientific

Is the order of a Python dictionary guaranteed over iterations?

依然范特西╮ 提交于 2019-11-29 01:00:38
I'm currently implementing a complex microbial food-web in Python using SciPy.integrate.ode . I need the ability to easily add species and reactions to the system, so I have to code up something quite general. My scheme looks something like this: class Reaction(object): def __init__(self): #stuff common to all reactions def __getReactionRate(self, **kwargs): raise NotImplementedError ... Reaction subclasses that ... implement specific types of reactions class Species(object): def __init__(self, reactionsDict): self.reactionsDict = reactionsDict #reactionsDict looks like {'ReactionName'

Cell segmentation and fluorescence counting in Python [closed]

懵懂的女人 提交于 2019-11-28 22:54:22
问题 How can I segment cells from an image taken on a microscope, along the lines of what was done here in Matlab? http://blogs.mathworks.com/steve/2006/06/02/cell-segmentation/ Also, if I take multiple image in different fluorescent channels (after staining the cells with some antibody/maker), how can I automatically quantitate the fraction of cells positive for each marker? Has anyone done something like this in Python? Or is there a library in Python that can be used to do this? 回答1: Have you