Skip to content

Lib supporting Qt6 version of the app #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 21, 2024
Merged

Lib supporting Qt6 version of the app #203

merged 11 commits into from
Nov 21, 2024

Conversation

andped10
Copy link
Collaborator

@andped10 andped10 commented Nov 21, 2024

Project class to serve as an API for the APP

Moved functionality from the APP to the LIB

…odel to lib (#183)

* renaming from item to assembly

* collections are together in folder

* moving responsibilities from model to sample

* rename experiment to model

* test for sample

* ruff

* get classes from module

* add Multilayer assembly if none

* cleaning of sample

* experiment to model and new sample structure

* Update src/easyreflectometry/sample/collections/sample.py

* update jupyter
…to lib (#185)

* renaming from item to assembly

* collections are together in folder

* moving responsibilities from model to sample

* rename experiment to model

* test for sample

* ruff

* get classes from module

* functionality for material collection

* added default collection

* add material adjusted

* model will create assembly if called with none

* Collections are now with just a single element

* code cleaning

* default collections

* base collection introduced

* no need for base_element_collection

* introduced default collection

* names in base collection

* tests
* handle empty sample

* code cleaning
…be moved from the app to the lib (#189)

* first extraction steps

* use data container

* most parts are wokring

* still some work needs to be done on experiments data

* added reset

* added save

* added load

* added functionality

* more flexible

* bug fix

* default project

* add materials

* test for default

* current_path to projeckt_path

* project

* tests update

* reset functionality

* reset

* project

* streamlining

* code cleaning

* code cleaning

* from project_path to path

* fix path

* pr response

* added test for creation of empty collections

* pyproject
* minor adjustments

* fix to create

* slight renaming

* set created when project is loaded

* pr response

* ruff

* change test comparing files

* test file changes
…192)

* from materials collection to base collection

* added color to Model

* renaming up and down to be consistent with other code

* adjusted collections

* placeholder for calculated data

* ready to expose data

* datastore and tests

* added functionality

* code cleaning

* explicit clean global obejct for surfactant tests

* unique name in surfactant and layer area per molecule

* code clean

* code cleaning

* code cleaning

* pr response

* pr response and tests

* pr response
…ing lib data (#196)

* expose reflectivity data

* sld profile in project

* reflectivity curve with 500 datapoints

* code cleaning

* remove fir_function from calculator_base

* default minimizer

* pr response

* ruff
… the app (#198)

* experiments and q values

* pass all four elements in datapoint

* adjust tests and set resolution function when loading measured data

* from steps to resolution
* minor functionality and code cleaning

* expose parameters

* added method to fit data in DataSet1D formar

* syntax fit

* rename method

* ruff

* sample index in project

* est all indicies

* indicies setters updated

* bug indicies

* material index

* layer index

* index to zero rather than none

* only parameters in project

* load and save project with experimental data

* only be recursive on dicts

* enabling load and save

* load fix when no experiments

* default info updated

* name for add model

* renameelement  added to collections

* added most used materials to project

* add material in get index of given material

* minor adjustments to model and sample

* latest version of easyscience

* update adding element to collection

* ruff

* fitter as property

* added tests
* first summary element

* refinement section

* test rename

* utils with counting

* experiments section

* html summary

* skeleton parameter

* replace in template

* paramaters as table

* html formatting

* html formatting

* summary formatting

* constained parameters

* constraints in summary

* summary

* cleaning project info

* pdf summary

* summary update

* code cleaning

* figures in summary

* only figures when requested

* legends and eps files

* back to jpg

* notebook for project object

* text adjustments project notebook

* link to pdf

* always add project information

* pr response

* reduce code complexity

* trying to understand CodeFactor

* more CodeFactor

* trying to make CodaFactor happy

* CodaFactor problems

* CodeFactor

* codefactor

* cidefactor

* codefactor

* codefactor

* code factor

* codefactor

* code factor

* CodeFactor

* code factor

* code factor

* codefactor

* codafactor not using free

* code factor

* code factor

* code facoter

* count functionality back to utils
@andped10 andped10 added the feature New functionality or request label Nov 21, 2024
@andped10 andped10 merged commit 07625a1 into master Nov 21, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant