Code Monkey home page Code Monkey logo

Comments (3)

xzackli avatar xzackli commented on August 12, 2024

image

re:flipping the sign of t21, here are the principal eigenvectors for a small cutout of the sky. I don't have intuition for the tidal field, so I'm not totally sure which one is correct. Here, black is matrix with (t11, t12, t12, t22) and red is the matrix with (t11, -t12, -t12, t22).

from tidal.

damonge avatar damonge commented on August 12, 2024

OK, awesome plot!

So my main point was that the tidal tensor is roughly defined as t11 = dT/dtheta/dtheta, t22 = dT/dtheta/dphi and t12 =dT/dtheta/dphi. Depending on how the inertia tensor of the galaxy shapes was defined (i.e. the definition of the position angle), this might imply a shift in the sign of t12 (if dec instead of theta was used, since ddec = -dtheta).

Another related issue is whether the 1st coordinate of the inertia tensor is theta/dec or phi/ra (i.e. which component should be match with t11, which one with t22 etc.).

So maybe, to make sure we understand everything, it'd be good to write down exactly what you figured out the position angle to be, since that essentially defines the inertia tensor. Maybe we can start some quick and dirty latex notes to make sure we're on the same page. I'll try to start them tomorrow if I have time.

from tidal.

xzackli avatar xzackli commented on August 12, 2024

Independent of the galaxy shape, I think there is a right and wrong way to choose the sign of t12 if you choose coordinates for the vector field's vectors. For example, not changing the sign on t12 and then plotting the vector field yields a field which is not rotationally symmetric around the brightest sources.

image
Contrast with the correction,
image

It's probably because plotting forces you to choose coordinates for the space that the vector field lives in (i.e. the tangent space). I have chosen when plotting these vector fields to represent x increasing in the -phi direction, and y increasing in the -theta direction, as you would expect when lying down on the ground with your head pointed north. I take the first and second components of the principal eigenvector, and interpret them as x and y.

Finally, the effect of transposing x and y vectors is actually to rotate the field by 90 degrees from if you were to make t12 negative.

image

from tidal.

Related Issues (4)

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.