tflovorn / scexplorer Goto Github PK
View Code? Open in Web Editor NEWExploration of the parameter space of a new model of cuprate superconductors
License: MIT License
Exploration of the parameter space of a new model of cuprate superconductors
License: MIT License
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.
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.
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)
It seems very inefficient to spawn lots of Python processes to handle MultiPlot. Is there a way to measure the performance impact of this?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.