Adding Environment Configuration to settings.json file and setting up interactive mode
This commit is contained in:
1 parent
492c1a315d
commit
eded311e88
2 files changed
+9
-1
No files matched your search
Vendored
+3
@@ -36,6 +36,9 @@
|
||||
"chat.sendElementsToChat.attachImages": false,
|
||||
"inlineChat.askInChat": false,
|
||||
"inlineChat.fixDiagnostics": false,
|
||||
"python.defaultInterpreterPath": "C:/Users/tschan_d/AppData/Local/miniforge3/envs/MA/python",
|
||||
"python.terminal.activateEnvInCurrentTerminal": true,
|
||||
"python.terminal.activateEnvironment": true,
|
||||
"python-envs.defaultEnvManager": "ms-python.python:conda",
|
||||
"python-envs.defaultPackageManager": "ms-python.python:conda",
|
||||
"python.envFile": "${workspaceFolder}/.env",
|
||||
|
||||
@@ -1,14 +1,19 @@
|
||||
### ----------------------------------------------------------------------------------------------------------------------------------- ###
|
||||
### SCRAPYARD TO DEBUG AND TEST FUNCTIONALITY
|
||||
|
||||
#%%
|
||||
import pandas as pd
|
||||
import numpy as np
|
||||
from defs import OFRAnalyser, OFRSample
|
||||
|
||||
#%%
|
||||
|
||||
analyser = OFRAnalyser(sourcefile="Z:/People/David_Tschan/data/OFR_SMPS/2026/processed/06_June/20260612/20260612_SET02_EXP01_full.csv",
|
||||
lower_bound=22.87, upper_bound=1000, density=102, scan_up=160, scan_down=20)
|
||||
samplelist = np.linspace(start=1, stop=analyser.max_samples, num=analyser.max_samples, dtype=int).tolist()
|
||||
|
||||
analyser.GetTotalMass(samples=[33], plot=False)
|
||||
analyser.GetTotalMass(samples=[33], plot=True)
|
||||
|
||||
#%%
|
||||
|
||||
print(analyser.total_mass)
|
||||
Reference in new issue
Block a user