source: MML/trunk/machine/SOLEIL/StorageRing/bpm/getbpmaverages.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 553 bytes
Line 
1function [N, T] = getbpmaverages(varargin)
2%GETBPMAVERAGES - Gets the BPM averages
3% [N, T] = getbpmaverages
4%  N = Number of averages
5%  T = Sampling period after averaging [seconds]
6
7%
8%  In Simlutor mode, N = 1 and T = 0
9%  Modified by Laurent s. Nadolski
10%  TODO Parametre TANGO a definir pour les moyennes
11%
12% Add varargin for compliance with other codes
13
14Mode = getfamilydata('BPMx','Monitor','Mode');
15if strcmpi(Mode,'Simulator')   
16    N = 1;
17    T = 0;   
18elseif strcmpi(Mode,'Special')
19    N = 1;
20    T = 0;
21else
22    N = 1;
23    T = 0.1;
24end
Note: See TracBrowser for help on using the repository browser.