Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.2%) to scientific vocabulary
Repository
2nd year lab. experiences and data repository
Basic Info
- Host: GitHub
- Owner: mattiasotgia
- License: mit
- Language: Jupyter Notebook
- Default Branch: active
- Size: 76.5 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 33
Metadata Files
README.md
Lab2 Group (2021-22) :rocket:
This repo is made to hold all the code and data generated by lab experiments.
There are two branches: main and active.
Latex files Current status of latex files.
Usage
This repo should be maintained up-to-date with the latest experiments and data.
There is a ./esperienza_#__<title> folder for each one lab. experience. Those are then divided as described in README for each sub-directory.
The setup.py file is meant to be used to create the base project for a lab. experience. To run setup.py use python3 setup.py <OPTIONAL: expNumber_title>
Requirements
Software needed to use this repo is listed below:
root, An open-source data analysis framework used by high energy physics and others, developed by CERN (currently usingv6.24/02orv6.22/06to run code);statcustom library (Currentlyv1.0). Run asg++ -o <exe_name> <program.cpp> stat.cpp.LabTools.his a C++ library only used for general purpouse C++ classes and namespaces for easier graph manipulation and statistical computation (see LabTools installation and usage).- ErrorAnalysis/ErrorAnalysis.h class function used to compute error propagationa and analysis.
- various python libraries are used:
numpy,matplotlib,scipy,pandas, mainly for data analisys on-the-go, alongside withjupiter-notebook. - LTSpice is a software used for schematics simulation, needed to read
.ascfiles. PyLTSpice v1.5(also on Github) andltspice 1.0.4are used for LTSpice simulation automation in Python and for data visualization. <!-- -numpyPython library is only needed in order for the setup.py program to work. -->
Future code might need other libraries, that will be eventually be written here.
Stat Library
stat is a C++ library made exclusively to compute the statistical average and standard error. It is located in stat/stat.h.
Library Usage
This library is just a piece of code written to facilitate some computing, eventually it needs to be implemented in the code.
stat::read_values()takes astdin::vectoras input, whereas the vector contain all data needed in calculation.stat::avg()return average of elements in thevector.stat::std_err()return standard error computed from RMS (Root Minimum Square).stat::clear()is needed to clean up the data vector, in order to compute other data.
LabTools
Inside LabTools there is the full definition and implementation for the LabTools c++ library. It needs to be compiled and if used in ROOT needs to be included in the rootlogon.C root file.
How to install
inside LabTools folder go to build/ (cd build).
Then do the following
bash
$ cmake ..
$ make
$ sudo make install
Then go to $HOME and create (if non existing!) the .rootrc file by doing
bash
$ touch .rootrc
and add the following line to .rootrc:
Rint.Logon: ~/rootlogon.C
Finally, in your $HOME directory create a file named rootlogon.C by doing
bash
$ touch rootlogon.C
and modify this file adding the following lines
cpp
{
gInterpreter->AddIncludePath("/usr/local/include");
gSystem->Load("/usr/local/lib/libLabTools");
}
Now to load the Library in any program you'll need to ```cpp
include
```
If using ROOT macros, no other compiler instruction is needed.
To use this library in compiled c/c++ programs you'll need to do the following:
bash
$ g++ file_name.cpp -o exe_name -I/usr/local/include -L/usr/local/lib/ -lLabTools `root-config --glibs --cflags`
where `root-config --glibs --cflags` is only needed if the code calls for other ROOT specific functions.
Changelog
Owner
- Name: Mattia Sotgia
- Login: mattiasotgia
- Kind: user
- Twitter: mattiasotgia1
- Repositories: 4
- Profile: https://github.com/mattiasotgia
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Laboratorio 2/Data
message: 'Data/analysis repository for Y2 lab. '
type: dataset
authors:
- given-names: Mattia
family-names: Sotgia
email: s4942225@studenti.unige.it
affiliation: >-
Dipartimento di Fisica, Università degli studi
di Genova
- given-names: Francesco
family-names: Polleri
email: s5025011@studenti.unige.it
affiliation: >-
Dipartimento di Fisica, Università degli studi
di Genova
repository-code: 'https://github.com/mattiasotgia/Lab2'
license: MIT
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v1 composite
- dante-ev/latex-action master composite
- softprops/action-gh-release v1 composite