File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 456456 " wf[TimeOfFlightLookupTable] = table\n " ,
457457 " \n " ,
458458 " # Compute time-of-flight of neutron events\n " ,
459- " tofs = wf.compute(DetectorTofData [SampleRun])\n " ,
459+ " tofs = wf.compute(TofDetector [SampleRun])\n " ,
460460 " tofs"
461461 ]
462462 },
615615 "outputs" : [],
616616 "source" : [
617617 " # Update workflow\n " ,
618- " wf[DetectorData [SampleRun]] = raw_data\n " ,
618+ " wf[RawDetector [SampleRun]] = raw_data\n " ,
619619 " wf[DetectorLtotal[SampleRun]] = Ltotal\n " ,
620620 " \n " ,
621621 " # Compute tofs and wavelengths\n " ,
622- " tofs = wf.compute(DetectorTofData [SampleRun])\n " ,
622+ " tofs = wf.compute(TofDetector [SampleRun])\n " ,
623623 " wav_wfm = tofs.transform_coords(\" wavelength\" , graph=graph)\n " ,
624624 " \n " ,
625625 " # Compare in plot\n " ,
817817 ]
818818 }
819819 ],
820- "metadata" : {},
820+ "metadata" : {
821+ "kernelspec" : {
822+ "display_name" : " Python 3 (ipykernel)" ,
823+ "language" : " python" ,
824+ "name" : " python3"
825+ }
826+ },
821827 "nbformat" : 4 ,
822828 "nbformat_minor" : 5
823829}
You can’t perform that action at this time.
0 commit comments