Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
848 bytes
|
Line | |
---|
1 | function [R0 FileName] = measbpmresp4FOFB(varargin) |
---|
2 | % MEASBPMRESP4FOFB - Measures the BPM to fast corrector response matrix |
---|
3 | % |
---|
4 | % |
---|
5 | % |
---|
6 | % |
---|
7 | % OUPUTS |
---|
8 | % 1. R0 - Response matrix |
---|
9 | % 2. FileName - saved filenamed if Archive flag is asked |
---|
10 | % |
---|
11 | % NOTES |
---|
12 | % 1. Mainly an alias to measbpmresp |
---|
13 | % |
---|
14 | % See Also getidbpmlist, measbpmresp |
---|
15 | |
---|
16 | % |
---|
17 | %% Written by Laurent S. Nadolski |
---|
18 | |
---|
19 | % Default |
---|
20 | BPMtype = 'AllBPM'; % 'IDBPMonly'; |
---|
21 | |
---|
22 | for k = length(varargin):-1:1 |
---|
23 | if strcmpi(varargin{k},'IDBPMonly') |
---|
24 | BPMtype = 'IDBPMonly'; |
---|
25 | varargin(k) = []; |
---|
26 | elseif strcmpi(varargin{k},'AllBPM') |
---|
27 | BPMtype = 'AllBPM'; |
---|
28 | varargin(k) = []; |
---|
29 | end |
---|
30 | end |
---|
31 | |
---|
32 | switch BPMtype |
---|
33 | case 'IDBPMonly' |
---|
34 | IDBPM = getidbpmlist; |
---|
35 | case 'AllBPM'; |
---|
36 | IDBPM = family2dev('BPMx'); |
---|
37 | end |
---|
38 | |
---|
39 | [R0 FileName] = measbpmresp('BPMx',IDBPM, 'BPMz', IDBPM, 'FHCOR', 'FVCOR',varargin{:}); |
---|
Note: See
TracBrowser
for help on using the repository browser.