- Timestamp:
- Apr 29, 2016 5:04:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_BeamCenter.ipf
r994 r995 597 597 // this works if the proper centers are in the file - otherwise, it's a mess 598 598 // "B" is skipped here, as it should be... 599 fname = "RAW" 599 SVAR type = root:Packages:NIST:VSANS:Globals:gCurDispType 600 601 fname = type 600 602 for(ii=0;ii<ItemsInList(ksDetectorListNoB);ii+=1) 601 603 detStr = StringFromList(ii, ksDetectorListNoB, ";") 602 604 xCtr = V_getDet_beam_center_x(fname,detStr) 603 605 yCtr = V_getDet_beam_center_y(fname,detStr) 604 V_RescaleToBeamCenter( "RAW",detStr,xCtr,yCtr)606 V_RescaleToBeamCenter(type,detStr,xCtr,yCtr) 605 607 endfor 606 608 … … 620 622 Function V_SpreadOutPanels() 621 623 622 V_RescaleToBeamCenter("RAW","MB",64,78) 623 V_RescaleToBeamCenter("RAW","MT",64,-30) 624 V_RescaleToBeamCenter("RAW","MR",-30,64) 625 V_RescaleToBeamCenter("RAW","ML",78,64) 626 V_RescaleToBeamCenter("RAW","FB",64,78) 627 V_RescaleToBeamCenter("RAW","FT",64,-30) 628 V_RescaleToBeamCenter("RAW","FR",-30,64) 629 V_RescaleToBeamCenter("RAW","FL",78,64) 624 SVAR type = root:Packages:NIST:VSANS:Globals:gCurDispType 625 626 V_RescaleToBeamCenter(type,"MB",64,78) 627 V_RescaleToBeamCenter(type,"MT",64,-30) 628 V_RescaleToBeamCenter(type,"MR",-30,64) 629 V_RescaleToBeamCenter(type,"ML",78,64) 630 V_RescaleToBeamCenter(type,"FB",64,78) 631 V_RescaleToBeamCenter(type,"FT",64,-30) 632 V_RescaleToBeamCenter(type,"FR",-30,64) 633 V_RescaleToBeamCenter(type,"FL",78,64) 630 634 return(0) 631 635 end
Note: See TracChangeset
for help on using the changeset viewer.