Questions tagged [phase]

phase is angular shift between periodic signals.

phase is angular shift between periodic signals

  • for example signal x1(t)=cos(t) is the same as x2(t)=sin(t+PI/2)
  • angle PI/2 is the phase (angular shift) between sin(t) and cos(t)
  • phase is also used as angular coordinate for polar representations of phasor commonly used in electrical engineering
  • phase distortions of signals are called jitter
238 questions
33
votes
6 answers

How to skip install phase in Maven build if I already have this version installed in repo

I have a project that consist of 3 different libraries. When I run install script it takes all libraries from repo and run mvn clean install on them. But this version of library already installed in repo. Is there a way to skip install phase if…
ximage
  • 483
  • 1
  • 4
  • 7
26
votes
6 answers

Extracting precise frequencies from FFT Bins using phase change between frames

I have been looking through this fantastic article: http://blogs.zynaptiq.com/bernsee/pitch-shifting-using-the-ft/ While being fantastic, it is extremely hard and heavy going. This material is really stretching me. I have extracted the maths from…
P i
  • 29,020
  • 36
  • 159
  • 267
24
votes
7 answers

identifying phase shift between signals

I have generated three identical waves with a phase shift in each. For example: t = 1:10800; % generate time vector fs = 1; % sampling frequency (seconds) A = 2; % amplitude P = 1000; % period (seconds), the time it takes for the signal to repeat…
Emma Tebbs
  • 1,457
  • 2
  • 17
  • 29
21
votes
2 answers

Executing a specific Maven phase

Is there any way to execute a specific phase in a maven build. For example, if I only want to run those plug-ins that execute in the pre-integration-phase, does Maven provide a means to do that? e.g. mvn pre-integration-phase
TERACytE
  • 7,553
  • 13
  • 75
  • 111
19
votes
5 answers

Maven String Replace of Text Web Resources

I have a Maven web application with text files in src/main/webapp/textfilesdir As I understand it, during the package phase this textfilesdir directory will be copied into the target/project-1.0-SNAPSHOT directory, which is then zipped up into…
Jaco van Niekerk
  • 745
  • 1
  • 6
  • 11
17
votes
2 answers

How can I execute several maven plugins within a single phase and set their respective execution order?

I would like to breakup certain phases in the maven life cycle into sub phases. I would like to control the execution flow from one sub-phase to another, sort of like with ant dependencies. For example, I would like to use the NSIS plugin in order…
Yaneeve
  • 4,751
  • 10
  • 49
  • 87
16
votes
3 answers

Mvn compile before exec

I am trying to set up my POM such that when I do mvn exec:exec or mvn exec:java it will first compile the source and iff successful, execute it. I have the following and have tried moving the part about but can't get it to work:
Lerp
  • 2,957
  • 3
  • 24
  • 43
13
votes
2 answers

Maven phase executing twice

I require to generate some sources, so i attached a plugin goal to the generate-sources lifecycle phase. When I run mvn package it works fine, but when I run mvn install I noticed that my source generation plugin executes twice.
Bob Beamon
  • 131
  • 1
  • 2
  • 6
13
votes
1 answer

Debugging JSF Life Cycle - what exactly happens in each phase

I have decided to dig completely into JSF 2.0 as my project demands deep knowledge of it. I am reading JSF Lifecyle Debug, a well written and awesome article on JSF Life cycle. While reading this article, I have following confusions. If it's an…
benz
  • 4,561
  • 7
  • 37
  • 68
12
votes
3 answers

Can I modify the Maven deploy phase to replace the maven-deploy-plugin with my own plugin?

I'm pretty new to Maven... What I'm trying to do is skip the maven-deploy-plugin during the deploy phase, while replacing it with my own plugin (i.e. I'm deploying to a non-repository location). I realize I could do this in multiple other ways, but…
jbeck
  • 2,184
  • 1
  • 19
  • 21
11
votes
2 answers

Matlab inverse FFT from phase/magnitude only

So I have this image 'I'. I take F = fft2(I) to get the 2D fourier transform. To reconstruct it, I could go ifft2(F). The problem is, I need to reconstruct this image from only the a) magnitude, and b) phase components of F. How can I separate these…
Jordan
  • 3,998
  • 9
  • 45
  • 81
11
votes
3 answers

Unwrap angle to have continuous phase

Let's say I have an array of phases similar to this: import numpy as np import matplotlib.pyplot as plt phase = np.linspace(0., 100., 1000) % np.pi plt.plot(phase) plt.show() (with many discontinuities like this) How to get an array of more…
Basj
  • 41,386
  • 99
  • 383
  • 673
11
votes
2 answers

Mercurial: what are the consequences of changing a phase?

In Mercurial, the phase of a revision can be changed arbitrarily. What are the consequences of a phase change for all possible transitions (public, draft, secret) x (public, draft, secret)? Which phase changes are safe? Which may cause troubles and…
mstrap
  • 16,808
  • 10
  • 56
  • 86
10
votes
3 answers

Maven run "dependency:tree" at start of "test" phase

I need to get the "dependency:tree" goal output from Maven at the start of the "test" phase, to help debug an issue for which I need to know what versions of everything are being used. In Ant it would have been easy, I've looked through the Maven…
Ed Randall
  • 6,887
  • 2
  • 50
  • 45
7
votes
1 answer

Eclipse and Maven: Run goal after a file is changed

I have a maven goal configured in the pom that is executed on compile phase. But also I need that goal to run after a specific file is changed to keep everything always up to date. i.e I want to save the file "objects.xml" and run the goal…
MRz
  • 83
  • 5
1
2 3
15 16