Giter Site home page Giter Site logo

scexplorer's People

Contributors

tflovorn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

scexplorer's Issues

specific heat plots - too many x's

After calculating specific heat, plotting finds X values sometimes split into several nearby values.

It would be nice to fix this in the plot package, but that seems tough (it uses floats as map keys in ExtractSeries()).

Fix this by holding on to original X values, then iterating through envs after SH calculation. Set each X to its closest neighbor in the original X value list.

performance enhancements suggested by profiling

Profile with:

go test -c
go test -test.cpuprofile cpu.out
go tool pprof packageName.test cpu.out

in pprof:
top10, top40, etc. get most common functions
top40 -cum to sort by cumulative (+children) time
web to visualize


For tempFluc -testPlot, got:

31.7% of time spent in malloc through ZeroVector calls resulting from Vector.Add and Vector.Mul

14.3% of time spent in math.Tanh
12.9% of time spent in math.Sin

Sin calls are Sin(kx), Sin(ky); could cache these results. Vector Add/Mul allocation could be avoided by requiring result vector to already be allocated; most of the time it will be.

plots design

It would be nice to have a matplotlib interface that gives us an image. Pass a channel to the plotting function; when the plot is done, it returns the plot along with any errors via the channel. (the function could also just return this channel)

benchmark cached package

It would be nice to know how much faster cached.Cos and cached.Sin are for typical use case (within bzone reduction with constant pointsPerSide and dimension) compared to math.Cos and math.Sin.

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.