Ignore:
Timestamp:
Feb 22, 2015, 11:07:07 PM (10 years ago)
Author:
sommeria
Message:

deformation modified in civ_series and bug corrections

Location:
trunk/src/transform_field
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/diff_vel.m

    r870 r876  
    1 %'sub_field': combines two input fields
     1%'diff_vel': calculate the difference of two input velocity fields.
    22%
    3 % the two fields are subtstracted when of the same nature (scalar or
    4 % vector), if the coordinates do not coincide, the second field is
    5 % interpolated on the cooridintes of the first one
    6 %
    7 % when scalar and vectors are combined, the fields are just merged in a single matlab structure for common visualisation
     3% the second velocity field is linearly interpolated
     4% (after elimination of the vectors marked with an error flag) to the positions of
     5% the first one before subtraction. The ancilary data of the first field
     6% are preserved while those of the second one are lost.
     7
    88%-----------------------------------------------------------------------
    9 % function SubData=sub_field(Field,XmlData,Field_1)
     9% function SubData=diff_vel(Field,XmlData,Field_1)
    1010%
    1111% OUPUT:
     
    1414% INPUT:
    1515% Field: matlab structure representing the first field
     16% XmlData: not used, needed for consistency with the call of transform fct.
    1617% Field_1:matlab structure representing the second field
    1718
  • trunk/src/transform_field/signal_spectrum.m

    r810 r876  
    1 % 'signal_spectrum': calculate and display spectrum of the current field
     1% 'signal_spectrum': calculate and display power spectrum of the current field
    22%  operate on a 1D signal or the first dimension of a higher dimensional matrix (then average over other dimensions)
    33%  this function aplies the Welch method and call the function of the matlab signal processing toolbox
  • trunk/src/transform_field/sub_field.m

    r810 r876  
    1 %'sub_field': combines two input fields
     1%'sub_field': combines two input fields, taking the difference if of the same nature
    22%
    3 % the two fields are subtstracted when of the same nature (scalar or
    4 % vector), if the coordinates do not coincide, the second field is
    5 % interpolated on the cooridintes of the first one
     3% the two fields are subtracted when of the same nature (scalar or
     4% vector),and defined at the same points
    65%
    76% when scalar and vectors are combined, the fields are just merged in a single matlab structure for common visualisation
Note: See TracChangeset for help on using the changeset viewer.