I have a very simple animation. I move the default cube from one location to another along the x axis. This gives me six keyframe points, the start and and stop locations of the x, y and z axes.  Using the following code I can return what type of transform it is (location, rotation, scale, etc.), the frame number and the value of the change. for action in bpy.data.actions:      for fcurve in action.fcurves:         print(fcurve.data_path)         for point in fcurve.keyframe_points:             print(point.co)  Here is a printout of the return. The first group is for the x axis, then y then z. location &lt;Vector (10.0000, 0.0000)&gt; &lt;Vector (20.0000, 3.4726)&gt; location &lt;Vector (10.0000, 0.0000)&gt; &lt;Vector (20.0000, 0.0000)&gt; location &lt;Vector (10.0000, 0.0000)&gt; &lt;Vector (20.0000, 0.0000)&gt;  My question is, is there a way to return what axis the change is occurring on? I have not been able to find a command to return the axis the &quot;Vector&quot; is associated with. In this simple example it easy to just figure it out but when the scene becomes complicated with lots of moving parts it can be very difficult to know which keyframe point is associated with which axis. Thank you for any help you can give me!
We are doing research on monitor human activities to avoid adverse events. In part of it, we did an experiment in our MoCap lap to detect the human motion to monitor his activities. We have f-curves from that motion. But we need all the xyz coordinates values for that motion for that given time (just say about 2-3 minutes) to do a scientific analysis of the data.  Do anyone have an idea how to get xyz values from f-curves?
Number or regions formed when $n$ points on a circle are joined The maximum number $R_{n}$ of regions formed when $n$ points on a circle are joined in pairs is $\frac{1}{24}\left(n^{4}-6n^{3}+23n^{2}-18n+24\right)$.  This is a fact that I have read in several essays on the dangers of jumping to conclusions in mathematics.  In your opinion, what's the quickest (and/or nicest) way to prove this formula?  Professor  explains somewhere an especially convincing way to tackle this pearl following an idea which a certain high schooler in one of his talks (lectures?) came up with; yet, I don't remember  where it was that I actually read this...  Let me thank you in advance for your insightful replies. Is it ok to say "good morning" at anytime? I am a mathematics student with a hobby interest in physics. This means that I've taken graduate courses in quantum dynamics and general relativity without the bulk of undergraduate physics courses and sheer volume of education into the physical tools and mindset that the other students who took the course had, like Noether's theorem, Lagrangian and Hamiltonian mechanics, statistical methods, and so on.  The courses themselves went well enough. My mathematical experience more or less made up for a lacking physical understanding. However, I still haven't found an elementary explanation of gauge invariance (if there is such a thing). I am aware of some examples, like how the magnetic potential is unique only up to a (time-)constant gradient. I also came across it in linearised general relativity, where there are several different perturbations to the spacetime metric that give the same observable dynamics.  However, to really understand what's going on, I like to have simpler examples. Unfortunately, I haven't been able to find any. I guess, since "gauge invariance" is such a frightening phrase, no one use that word when writing to a high school student.  So, my (very simple) question is: In many high school physics calculations, you measure or calculate time, distance, potential energy, temperature, and other quantities. These calculations very often depend only on the difference between two values, not the concrete values themselves. You are therefore free to choose a zero to your liking. Is this an example of gauge invariance in the same sense as the graduate examples above? Or are these two different concepts? How can I make a camera the active one? I have multiple cameras in a scene. What I want to do is to change which one is active. This way I can view the scene from different angles. How would I do this? Permissible for display name to advertise another SE site? Is it permissible to use your SE display name to advertise another SE site or Area 51 Proposal? Is this scrupulous or laudable?   I don't refer to my comment box. For example, could I change 'LePressentiment' to 'Commit to Law SE' to advertise the  proposal? Vertically center contents of table cell Consider the following example:  \documentclass{article}  \usepackage{pstricks-add} \usepackage{booktabs}   \psset{   unit = 0.7,   dimen = middle,   ticks = none,   labels = none }  \newcommand*\pind[2]{%  \psset{linecolor = red}   \psline(#1,0)(#1,#2)   \psline(!#1 0.2 sub #2)(!#1 0.2 add #2) } \newcommand*\enkeltobservationer{%   \begin{pspicture}(-0.5,-0.2)(5.9,6.3)     \psaxes{-&gt;}(0,0)(-0.2,-0.2)(5.4,5.5)[\small{$x$},0][\small{$h(x)$},90]     \pind{0.5}{3}     \pind{1.0}{5}     \pind{1.5}{3}     \pind{2.0}{3}     \pind{2.5}{4}     \pind{3.0}{2}     \pind{3.5}{5}     \pind{4.0}{1}     \pind{4.5}{4}     \pind{5.0}{2}   \end{pspicture}% } \newcommand*\soejle[2]{%  \psset{fillcolor = red}   \psframe[fillstyle = solid](!#1 0.5 sub 0)(#1,#2) } \newcommand*\intervaller{%   \begin{pspicture}(-0.5,-0.2)(5.9,6.3)     \psaxes{-&gt;}(0,0)(-0.2,-0.2)(5.4,5.5)[\small{$x$},0][\small{$h(x)$},90]     \soejle{0.5}{3}     \soejle{1.0}{5}     \soejle{1.5}{3}     \soejle{2.0}{3}     \soejle{2.5}{4}     \soejle{3.0}{2}     \soejle{3.5}{5}     \soejle{4.0}{1}     \soejle{4.5}{4}     \soejle{5.0}{2}   \end{pspicture}% }   \begin{document}  \begin{table}  \centering   \begin{tabular}{l c c c}     \toprule      Begreb               &amp;      Forkortelse          &amp;      Enkeltobservationer  &amp;      Intervaller            \\      \midrule      Hyppighed            &amp;      $h(x)$               &amp;      \enkeltobservationer &amp;      \intervaller           \\     \bottomrule    \end{tabular} \end{table}  \end{document}     I would like to vertically center Hyppighed and $h(x)$ relative to the figures; how do I do that? Ubuntu 16.04 Jan 3 2018 update causing screen/access issues Yesterday (Jan. 3, 2018), I installed an OS update (Ubuntu 16.04), using the Software Center. My system isn't working correctly now. When my mouse rolls over the Launch bar, it disappears, then any open window disappears, leaving me with only the desktop screensaver showing. I can't even shut the computer off using the settings button on the top.  I went into the Terminal and attempted to fix it using the following commands:  sudo apt-get dist-upgrade sudo apt-get autoremove   But I'm still having the same problem.  I have reinstalled Ubuntu 16.04 and when I accepted the update on install had the same problem.  I have reinstalled it a second time but have not done an OS update and everything seems to be working fine.    Found another user with the same problem:    Is it possible that the Meltdown security update is at fault?  I've read the update has been issued for 64-bit x86 architecture ();  I'm running a 32 bit i386 architecture.  Could that be an issue and is there a way to correct it? Is there a specific term for a statement that uses words such that their precise meaning conveys a subtext contrary to the colloquial meaning?  For example, the joke in Men in Black:     Gentlemen, congratulations. You're everything we've come to expect   from years of government training.   where the precise use of the words conveys a sarcastic meaning (ie that the candidates are inept because that's what he's come to expect from government training).  I was going to use "irony" to describe this but then realized this is basically the opposite of irony - the use of words to convey their literal intention, when a nonliteral intention was expected. Why is $x^0 = 1$ except when $x = 0$? In classic OLS regression it is well-known that $(\mathbf{I}-\mathbf{H})\mathbf{y}=\mathbf{r}$, where $\mathbf{I}$ is the identity matrix, $\mathbf{H}$ is the , $\mathbf{y}$ is the vector of response (dependent) values, and $\mathbf{r}$ is the vector of residuals.  My question is whether the scalar $\mathbf{y}^T(\mathbf{I}-\mathbf{H})\mathbf{y}=\mathbf{y}^T\mathbf{r}=\mathbf{y}^T\mathbf{y}-\mathbf{y}^T\mathbf{\hat{y}}$ has some meaningful interpretation. How can I install a package without installing some dependencies? I'm trying to install the package LaTeXila, and the output looks like this:  $ sudo apt-get install latexila --no-install-recommends Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   latexila-data latexmk luatex tex-common texlive-base texlive-binaries   texlive-common texlive-doc-base texlive-latex-base Suggested packages:   rubber texlive-latex-extra debhelper Recommended packages:   texlive texlive-latex-recommended texlive-luatex lmodern   texlive-latex-base-doc The following NEW packages will be installed:   latexila latexila-data latexmk luatex tex-common texlive-base   texlive-binaries texlive-common texlive-doc-base texlive-latex-base 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 29.3 MB of archives. After this operation, 74.5 MB of additional disk space will be used. Do you want to continue [Y/n]?   I don't want to install the texlive packages. I've installed texlive manually from . Any suggestions? The maximum energy stored by a capacitor is when it’s (theoretically) fully charged, or just before it reaches dielectric breakdown, if you will. It seems, then, that the maximum energy ($E$) $=QV$, where $Q$ is the maximum charge attained and $V$ is the maximum ‘voltage’. However, the correct equation for the maximum energy is $E=\frac{1}{2}QV$. Why? I’m looking for a simple, intuitive explanation because my reasoning that $E=QV$ seems sound to me. I know about , but I’m looking for a reason to disprove my specific argument that $E=QV$ and not the “Oh, it comes from integration.” response. One Time Pad Key Distribution For multiple OTP keys, why not do this:  Key = Hash[(EC)DH Shared Secret + Counter]  The counter will increase per message, and the output of the hash will be random for each new unique input into it. What are the problems or weaknesses with this design??  EDIT: For clarification: both parties will have the shared secret from an ECDH exchange, random numbers from Pythons os.urandom for generating the ECC key How to fix byte array java.lang.NullPointerException Calculating a spherical polygon centroid Multiplication principle and permutation Definition of Multiplication principle in Principles and Techniques in combinatorics by Chuan-Chong, Khee-Meng is given as:      Let $$\prod_{i=1}^rA_i=A_1\times\dots\times A_r=\{(a_1,\dots,a_r) | a_i\in A_i, i=1,\dots,r\}$$ denote the cartesian product of the finite sets $A_1,\dots,A_r.$ Then $$\left\vert \prod_{i=1}^r A_i \right\vert=|A_1|\times\dots\times|A_r|.$$   I want to know how this principle is applies in defining $P_r^n=n(n-1)\cdots2\cdot1$, ie, what are sets $A_1,\dots,A_r$ here? How to view all the Symbolic links,Junction points,Hard links in a Folder using dir? The command dir /a displays a list of all the files,folders in a given location. But it displays the type  for Junction Points as well as Symbolic Links to Folders. Is there any command which will differentiate and tell me which of these  are Junction Points and which are Symbolic links as well as which of the files are hard links ? How to find relevant and new open research topics? How do I mail merge from Google Spreadsheet to a Google Document? Objects disappear when looking through camera