Skip to content
Snippets Groups Projects
Commit 63c2ecaa authored by Andreas Hellerschmied's avatar Andreas Hellerschmied
Browse files

Merge branch 'feature_converter' into 'develop'

Draft: Feature converter

See merge request hellerdev/lifescale_gui!1
parents 3e2394d8 6f14de62
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,8 @@ venv/ ...@@ -30,6 +30,8 @@ venv/
ENV/ ENV/
env/ env/
### JetBrains template ### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
......
...@@ -9,10 +9,22 @@ ...@@ -9,10 +9,22 @@
# Questions: # Questions:
- Which license?
- Is it OK for Joseph Elsherbini to use/change his code?
- Is a "raw data viewer" needed to show the content of the binary raw data files?
- Individual files, or from one experiment?
- Load to pandas DF and show in table in GUI?
- Is editing required?
- Are any search options needed?
- Format conversion, e.g. to csv files needed?
- Should there be the possibility to store the current GUI settings (data and processing parameters, etc.) - Should there be the possibility to store the current GUI settings (data and processing parameters, etc.)
- Should there be the possibility to load default parameters and/or previously saved parameters (e.g. from json file)? - Should there be the possibility to load default parameters and/or previously saved parameters (e.g. from json file)?
- Is the json file required in the current version, e.g. for documentation (processing parameters, etc.) or further analysis? - Is the json file required in the current version, e.g. for documentation (processing parameters, etc.) or further analysis?
- Are there any default values for the processing parameters? Should they be stored anywhere (e.g. json file)? - Are there any default values for the processing parameters? Should they be stored anywhere (e.g. json file)?
- Standard values defined in pgm code (e.g. parameters.py file). These parameters are loaded on the initial start
- Save/Load parameters from GUI to json file => Define "standard parameter set" that way
## Processing: ## Processing:
- Is the input data (raw data) always organized in the same way, i.e.: Raw data folder that contains data files with the - Is the input data (raw data) always organized in the same way, i.e.: Raw data folder that contains data files with the
......
"""LifeSclae GUI is a utility program for handling data output.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
:Authors:
Andreas Hellerschmied (heller182@gmx.at)
"""
__version__ = '0.0.1'
__author__ = 'Andreas Hellerschmied'
__git_repo__ = 'tba'
__email__ = 'heller182@gmx.at'
__copyright__ = '(c) 2022 Andreas Hellerschmied'
\ No newline at end of file
This diff is collapsed.
"""Modelling a LifeScale run
Copyright (C) 2022 Andreas Hellerschmied <heller182@gmx.at>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import datetime as dt
import pytz
import numpy as np
import pickle
import os
import sys
import pandas as pd
# from gravtools.models.lsm import LSM
class LSRun:
"""LifeScale run object.
A LS run contains:
- run name and description
- input data
- settings
Attributes
----------
run_name : str
Name of the lsm run.
output_directory : str
Path to output directory (all output files are stored there).
pgm_version : str
Version of the program.
"""
def __init__(self,
campaign_name,
output_directory,
surveys=None, # Always use non-mutable default arguments!
stations=None, # Always use non-mutable default arguments!
lsm_runs=None, # Always use non-mutable default arguments!
ref_delta_t_dt=None # Reference time for drift determination
):
"""
Parameters
"""
\ No newline at end of file
*
!.gitignore
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment