Giter VIP home page Giter VIP logo

music-axions's Introduction

Remove phase gradients:

For the gradient you can problably use numpy.gradient()
then you have to account for transitions from 2*pi to 0 which you can do with numpy.mod()
then multiply the gradients with the density array
then take the mean() of that array divided by mean() of the density in order to get the mass weighted mean gradient
the phases you want to substract you can construct with numpy.fromfunction (with gradient*index ) using the mean gradients
substract the constructed array from the Phase array
take numpy.mod() again to have the range 0 to 2*pi

------------------------

ssh [email protected]

---------------------------
Jan Data: in numpy files

# Jan densities and phases

/home/uni09/cosmo/jveltma/Doddy

AxDensity4_xxx.npy ,  xxx = [036,365],[36,99]
AxPhase_xxx.npy ,  xxx=[035,359]

Copied into Volumes/External/JanData

----------------------
Bodo Data: best accessed with yt

/home/uni09/cosmo/bschwab/multimerge_mass9_halos10_64kpc/ # appears corrupted. Hope we didn't fuck it up

/home/uni09/cosmo/bschwab/multimerge_mass10_halos10_8kpc # another run


* get the whole repository

scp -r [email protected]:/home/uni09/cosmo/bschwab/multimerge_mass9_halos10_64kpc path_to_save

* get a single snapshot

scp -r [email protected]:/home/uni09/cosmo/bschwab/multimerge_mass9_halos10_64kpc/plot##### path_to_save

plot11801

plot##### is a directory. yt read the whole directory as a HDF5 file


* Find fields

ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
ds.field_list

For example, AxDens axion density field

music-axions's People

Contributors

daveronan avatar

Watchers

 avatar

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.