Skip to content

Commit fddbd82

Browse files
committed
Running without stabilization also converts to mm
1 parent fd3ebb3 commit fddbd82

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

skdaccess/utilities/pbo_util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,11 @@ def nostab_sys(allH,allD,timerng,indx=1,mdyratio=.7):
560560
smSet.append(pddata)
561561
smHdr.append(allH[ii])
562562

563-
# returns the corrected data and the relevant headers as dictionaries, and the transformation's 7-parameters
563+
# returns the data and the relevant headers as dictionaries
564564
smSet_dict = dict(); smHdr_dict = dict()
565565
for ii in range(len(smHdr)):
566+
smSet[ii].loc[:,['dN','dE','dU']] *= 1000
567+
smSet[ii].loc[:,['Sn','Se','Su']] *= 1000
566568
smSet_dict[smHdr[ii]['4ID']] = smSet[ii]
567569
smHdr_dict[smHdr[ii]['4ID']] = smHdr[ii]
568570
return smSet_dict, smHdr_dict

0 commit comments

Comments
 (0)