Skip to content

Instantly share code, notes, and snippets.

@devicemxl
Created October 15, 2022 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devicemxl/5f254d5c65232d3755a7fa5fb8663140 to your computer and use it in GitHub Desktop.
Save devicemxl/5f254d5c65232d3755a7fa5fb8663140 to your computer and use it in GitHub Desktop.
RawData['Type'] = 0
for i in range(len(RawData['χ2'])):
if RawData['χ2'][i] > x2q: RawData['Type'][i] = 'Noise'
else: RawData['Type'][i] = 'Data'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment