Giter VIP home page Giter VIP logo

Comments (2)

danbgraham avatar danbgraham commented on July 30, 2024

Hi,

There are a couple of reasons why the distribution is different. mms.plot_projection plots a slice of the 3D distribution, whereas in the Torbert paper they are plotting a 2D reduced distribution, meaning the third velocity axis is integrated over (note that the units are different between the two methods). It can look different because you are plotting something different to the Torbert paper. Also in your script you are using MMS1 data, whereas Torbert et al. is using MMS3 data, so this may also account for a different looking distribution.

Here is an example of the 2D reduced distribution seen in Torbert et al. (see also Example_MMS_reduced_ele_dist_2D.m):
vg = linspace(-40e3,40e3,100); % km/s
nMC = 2e3;
f2D = dist.reduce('2D',hatB0,hatExB0,'base','cart','vg',vg,'nMC',nMC,'lowerelim',100);

fn=figure;
set(fn,'Position',[10 10 400 350])
h(1)=axes('position',[0.12 0.13 0.8 0.8]); % [x y dx dy]
ud=get(fn,'userdata');
ud.subplot_handles=h;
set(fn,'userdata',ud);
set(fn,'defaultLineLineWidth',1);

f2D.plot_plane(h(1),'docolorbar',0);
caxis(h(1),[-14 -10]);
hcb = colorbar(h(1));
ylabel(hcb,'log_{10} f_e (s^2 m^{-5})','interpreter','tex','fontsize',12)
hold(h(1),'on')
plot(h(1),[0 0 ],max(abs(vg))*[-1 1],'color','k','linewidth',1)
plot(h(1),max(abs(vg))*[-1 1],[0 0 ],'color','k','linewidth',1)
hold(h(1),'off')
grid(h(1),'off')
axis(h(1),'equal')
colormap(h(1),'jet')
irf_legend(h(1),'(c)',[0.98 0.85],'color','w','fontsize',12)
axis(h(1),1e-3*[min(vg) max(vg) min(vg) max(vg)])
xlabel(h(1),'V_{||} (10^3 km s^{-1})','interpreter','tex','fontsize',12)
ylabel(h(1),'V_{\perp} (10^3 km s^{-1})','interpreter','tex','fontsize',12)
set(gcf,'color','w')

from irfu-matlab.

zhang-chi-IGGCAS avatar zhang-chi-IGGCAS commented on July 30, 2024

thanks a lot!

from irfu-matlab.

Related Issues (20)

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.