Sync from remote server: 2025-10-12 18:56:41
This commit is contained in:
26
Tilt/conv_grezziRL.m
Executable file
26
Tilt/conv_grezziRL.m
Executable file
@@ -0,0 +1,26 @@
|
||||
% Funzione che converte i dati grezzi dei Rain Link
|
||||
|
||||
function val_RL = conv_grezziRL(val_RL,rRL,DCalRLTot,NodoRainLink,FileName)
|
||||
|
||||
text = 'conv_grezziRL function started';
|
||||
fileID = fopen(FileName,'a');
|
||||
fmt = '%s \r';
|
||||
fprintf(fileID,fmt,text);
|
||||
|
||||
if strcmp(NodoRainLink(1,4),'mm')
|
||||
else
|
||||
ca_RL = DCalRLTot(:,1);
|
||||
i = 1;
|
||||
% Contatore dei nodi, converte i punti ADC con le calibrazioni in valori
|
||||
% angolari
|
||||
while i <= rRL % nodo
|
||||
val_RL(:,i) = val_RL(:,i)*ca_RL(i,1);
|
||||
i = i+1;
|
||||
end
|
||||
end
|
||||
|
||||
text = 'Raw Data of Rain Link converted into physical units correctly';
|
||||
fprintf(fileID,fmt,text);
|
||||
fclose(fileID);
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user