Skip to content

victormacedo996/food-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Food Analytics

Table-of-content

  1. Description
  2. Food analysis
    1. Wheat Flour
    2. Honey
    3. Meat and Meat products
    4. Milk
    5. Sucrose
    6. Water
    7. Fats and oils
  3. Instalation
  4. Usage
  5. Contribute
  6. Yet to come
  7. Credits
  8. License
  9. How to cite
    1. Json-meta-data
    2. BibTex Export
  10. References

DOI

Description

This is a piece of software to help food scientists in their everyday lab routine. If you want more information about the program, check the Wiki

Food-analsis

The program can calculate:

Wheat-Flour:

  • Fixed Mineral Waste percentage in dry sample
  • Acidity in mg of KOH in 100g of sample
  • Protein using Kjedahl method in percentage in 100g of dry sample

Back to the top

Honey:

  • Inverted sugar percentage in 100g of honey
  • Sucrose percentage in 100g of honey
  • Acidity in miliequivalent per kilogram of honey
  • Formol Index per kilogram of honey

Back to the top

Meat-and-meat-products:

  • Fat percentage

Back to the top

Milk:

  • Lactose percentage
  • Acidity in Dornic degrees and percentage of latic acid
  • Fat percentage
  • Total soluble solids using the Fleishmann formula
  • Non fat solids percentage

Back to the top

Sucrose:

  • Sucrose pecentage using polarimetry
  • ICUMSA colour
  • Sucrose percentage using Fehling's method

Back to the top

Water:

  • Alcalinity in mg of CaCO3 per liter of water. And the alkalinity from hydroxide, carbonate and bicarbonate
  • Water hardness in mg of CaCO3 per liter of water
  • Total soluble solids per liter of water
  • Residual chlorine in grams per liter of water
  • Chloride in mg per liter of water
  • Oxigen consumed in mg per liter of water

Back to the top

Fats-and-oils

  • Acidity index in grams of acid in 100g of sample or in mg of KOH in 1g of sample
  • Saponification index in mg of KOH per gram of sample
  • Iodine index in grams of iodine in 100g of sample
  • Peroxide index in meq per kilogram of sample

Back to the top

Instalation

You will need:

Back to the top

Usage

After installing Python and the SciPy library just download this souce code and execute the Main.py file.

When you execute the Main.py file a Terminal or CMD will pop up presenting the program main menu:

MainMenu

In the main menu you need to type the food you want to analyse and press enter, for this quick tutorial we are gonna select the water analysis. After pressing 4 and hitted Enter the program will display the water menu for us:

WaterMenu

In this menu we just need to choose what analisys we want, for this exemple we will choose the chloride analisys, just pressing 5 and them Enter. After this the program will ask us for some data we collect in the lab:

  • AgNO3 molarity:

AgNO3Molarity

  • AgNO3 correction factor:

AgNO3CorrectionFactor

  • Sample volume (in ml):

SampleVolume

  • Volume of AgNO3 spent in every sample. We need at least 3 samples and a maximum of 10. In this example we are gonna input only 3 datas:

AgNO3Spent

After the input of the data we are displayed the Dixon's test menu to choose the confidence interval of the test. For this example we are gonna use the 90% confidence interval pressing 1 and them Enter:

DixonTestMenu

When we inputed the Dixon's confidence interval the Dixon's test is applied to the data we inputed and if there is any outlier it will be removed. And then we are presented the mean of our analisys and the standard deviation. At the same page we input the confidence interval to perform the Student's T test.

In this example we are gonna use the confidence interval of 95%, as the instructions tell us we need to enter 0.95 to get the 95% interval and then press Enter. Then we enter our comparable wich is the value we are gonna compare to the results from our sample and press Enter.

FinalOutput

This is the final output of the program it tells us the P-value and the T-statistic of the Student's T test and the message Reject H0 wich means that we reject the hypotesis that our water has too much chloride. Now we can press any key to bring us back to the main menu to perform another analisys or to exit the program.

Back to the top

Contributing

There are a lot of ways to contribute with the project:

  • Use the program and report bug
  • Suggest new calculation methods and/or foods
  • For programmers

Yet-to-come

Back to the top

Credits

Authors:

  1. Victor Macedo (Lead author)

Back to the top

License

The license intend to allow users and developers to share the software with or without the souce code, use for comercial, private and academic use and change the source code.

  • But it cannot be monetized or marketed and if it is used in any kind of academic work it has to be cited.

  • The author and contributors doesn't have any responsibility in the use of the software and give no warranty.

Check the full license

Back to the top

How-to-cite

Json-meta-data

{
    "description": "<p>Initial release of the food analytics software</p>", 
    "license": "other-open", 
    "title": "victormacedo996/food-analytics: Food analytics initial version", 
    "version": "v0.1.0", 
    "upload_type": "software", 
    "publication_date": "2021-01-15", 
    "creators": [
        {
            "name": "Victor Macedo"
        }
    ], 
    "access_right": "open", 
    "related_identifiers": [
        {
            "scheme": "url", 
            "identifier": "https://github.com/victormacedo996/food-analytics/tree/v0.1.0", 
            "relation": "isSupplementTo"
        }, 
        {
            "scheme": "doi", 
            "identifier": "10.5281/zenodo.4443095", 
            "relation": "isVersionOf"
        }
    ]
}

BibTex-export

@software{victor_macedo_2021_4443096,
  author       = {Victor Macedo},
  title        = {{victormacedo996/food-analytics: Food analytics 
                   initial version}},
  month        = jan,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {v0.1.0},
  doi          = {10.5281/zenodo.4443096},
  url          = {https://doi.org/10.5281/zenodo.4443096}
}

Back to the top

References

Adolfo Lutz Analysis Standards (Pt-BR)

Back to the top

About

This is a software to help food scientists in their everyday lab work making easy to calculate physical chemical parameters in a range of food sources

Topics

Resources

License

Stars

Watchers

Forks

Languages