Code Monkey home page Code Monkey logo

cmtj's Introduction

Hi there ๐Ÿ‘‹

I'm dealing some physics most of the time. Other wares too, if you have coin.

Lemur's GitHub stats

cmtj's People

Contributors

dependabot[bot] avatar lemurpwned avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cmtj's Issues

Dipole junction coupling

Currently dipole coupling between two devices is possible if simulated as "one device".
An abstraction should be added to make this obvious -- for example by extension of the Stack e.g. DipoleCoupledStack.

Code hints may not be visible

After pip installation the hints for the pyi.typed files may not be packaged properly and hence may not work properly.

Fix is to properly package typing hints with in the setup.cfg file.

Driver overhaul

Drivers need a smart-pointer overhaul to reduce complexity of adding a new scalar driver.

Easier definition of the axial driver and a ScalarDriver

If we want to set a constant value for an Axial driver we need to do something like:

AxialDriver(ScalarDriver.getConstantDriver(H[0]),
            ScalarDriver.getConstantDriver(H[1]),
            ScalarDriver.getConstantDriver(H[2])))

instead, perhaps an easier way:

AxialDriver(*H)

Scalar Driver can also be assumed to be constant by default:

ScalarDriver(val) == ScalarDriver.getConstantDriver(val)

Add DMI interaction

There are use cases where DMI interaction is a good addition for the macrospin model.

Scalar Driver to be defaulted

Override the scalar driver to be able to pass just a value and make it constant by default.
See if this can be propagated to the layer/junction api.

Improve streamlit view

  • add frequency limiter
  • add ploty for interactive plots
  • fix optimizer
  • add the option to fix a parameter

Noise vector along an axis

Right now we sample noise in all directions -- allowing the user to specify just a single direction would be useful.

Alias Driver functions

Driver functions should be aliased on both C++ and Python level for quicker reference and more reasonable naming convention.

Swap the build system

Should switch to pyproject.toml if possible to avoid using ancient setup.py-based builds.

CVector -- driver interaction

  • Passing a CVector to an axial driver automatically creates constant Driver.
  • CVectors should be subscriptable in Python as well.

HEBO optimisation

Integrate basic parallelism for HEBO optimisation in the optimisation submodule.

Add AFM exchange coupling energy term to the SB model

$$E_\mathrm{AFM/FM} = -\mu_0M_st_\mathrm{FM}(H_\mathrm{EB} + H_\mathrm{w})\cos\phi_M$$
or from Meiklejohn-Bean model.

W. H. Meiklejohn and C. P. Bean. New Magnetic Anisotropy. Physical Review, 102(5):1413โ€“1414, June
1956. Publisher: American Physical Society.

E. C. Stoner and E. P. Wohlfarth. Interpretation of High Coercivity in Ferromagnetic Materials. Na-
ture, 160(4071):650โ€“651, November 1947. Number: 4071 Publisher: Nature Publishing Group.

Add some tests

Test the following things:

  • Drivers.
  • Procedures.
  • Junction creation.

Using pytest and automatic tests for push is desirable.

Magnetisation perturbation

Implement perturbation in C++ for the magnetisation vector.

This is now implemented in procedures, but in Python. Should be repeated for C++.

Add relax function

A relax function would be useful.
It could either:

  1. Minimise the energy
  2. Minimise the torque

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.