Compare commits

...

40 Commits

Author SHA1 Message Date
4d1d89c595 Merge branch 'master' of https://gitea.sharpe6.com/Adog64/Rowan-Classes 2025-05-05 11:50:11 -04:00
a47c729ee8 Consultant impact statement draft 2025-05-05 11:43:08 -04:00
b6d94eabb6 Bio week 12 2025-05-05 11:42:44 -04:00
b8f80f08a8 Honors essay 8th semester Spring 2025 2025-05-05 11:42:27 -04:00
d27d1e060b Fab digital clock assembly 2025-05-05 11:42:06 -04:00
5fda1b8a94 Cloud hardware catch up 2025-05-05 11:41:28 -04:00
ae4ff9682b Consultant lab 4 2025-05-05 11:41:09 -04:00
3833f0329a Consultant designed lab draft 2025-05-05 11:40:41 -04:00
680fc0368a Consultant lectures 2025-05-05 11:35:58 -04:00
50c8ab4f17 Weapon systems slides for final 2025-05-05 11:28:50 -04:00
68708a2cf9 Cloud hardware assignments 2025-05-02 22:43:18 -04:00
6a8c6c4c34 Biology week 13 2025-04-28 22:39:42 -04:00
cd559cd401 Cloud hardware AWS assignment notes 2025-04-24 11:58:38 -04:00
29767107a1 Merge branch 'master' of https://gitea.sharpe6.com/Adog64/Rowan-Classes 2025-04-21 22:45:39 -04:00
88e115f19b Upload files to "8th-Semester-Spring-2025/rapid-prototyping/digital-clock-enclosure" 2025-04-14 23:39:32 -04:00
896beb6c2f Fabrication project 2c write-up 2025-04-14 23:38:14 -04:00
18e5d27bf8 Upload files to "/" 2025-04-14 14:47:06 -04:00
71abf4d8c8 Upload files to "8th-Semester-Spring-2025/rapid-prototyping" 2025-04-03 15:34:09 -04:00
951c6bfad6 DSP lab4q1 in python 2025-03-31 23:54:32 -04:00
2230168412 Most of week-9 bio, start of weapon systems homework 8 2025-03-31 15:02:57 -04:00
3ce102d959 Laptop backup week 10? (for safety reasons) 2025-03-29 23:46:27 -04:00
0f7490cb3e Upload files to "8th-Semester-Spring-2025/rapid-prototyping" 2025-03-27 18:43:55 -04:00
e013dcbed6 Cloud hardware project 1 and ch5 questions 2025-03-13 00:07:37 -04:00
75ff89644d Consultant evaluation and lab 3 2025-03-10 15:24:54 -04:00
0ee36aae38 Bio week 7 and weapon systems midterm equations 2025-03-10 13:06:29 -04:00
11479db9cf Finished week 6, starting week 7 2025-03-04 10:34:24 -05:00
412a35c062 Cloud hardware assignment 3 2025-02-27 00:06:20 -05:00
9b4f36ab47 Week 4 and 5 2025-02-24 22:16:41 -05:00
e95865b7e3 Upload files to "8th-Semester-Spring-2025/pcb-design/seven-seg" 2025-02-14 22:27:53 -05:00
82b435b6a2 Week 3 2025-02-14 22:27:10 -05:00
d9cec13c2e Cloud hardware book 2025-02-08 23:28:02 -05:00
4099fad339 Bio week 2, superpower, fabrication week 2 2025-02-04 10:47:05 -05:00
e112227e1d Upload files to "8th-Semester-Spring-2025" 2025-02-03 18:37:22 -05:00
b13bd00258 Started whats your superpower 2025-02-03 15:00:34 -05:00
a30be2d51c Compiled vocab 2 for bio 2025-02-03 14:41:46 -05:00
956ab2659f Merge branch 'master' of https://gitea.sharpe6.com/Adog64/Rowan-Classes 2025-02-03 14:35:53 -05:00
5c6fabaf67 Bio vocab 2 2025-02-03 14:35:22 -05:00
a8d26aeea6 Bio lab 1 2025-01-27 15:39:08 -05:00
dc9297f899 Creating Python files lesson 2025-01-23 11:36:36 -05:00
ae7130cdfd DSP examples for class 1 2025-01-22 18:28:53 -05:00
786 changed files with 142038 additions and 0 deletions

View File

@ -0,0 +1,11 @@
---
title: BIOL01113 Term Project Part 1
author: Aidan Sharpe
date: March 17th, 2025
geometry: margin=1in
---
# Question
Why are the pancreas, liver, and gallbladder called accessory organs of the digestive system?
# Thesis Statement
The pancreas, liver, and gallbladder are considered accessory organs because they do not directly process food and merely assist with digestion.

View File

@ -0,0 +1,22 @@
@article{elias2008,
author = {Elias, Hans and Bengelsdorf, Herbert},
title = {THE STRUCTURE OF THE LIVER OF VERTEBRATES},
journal = {Acta Anatomica},
volume = {14},
number = {4},
pages = {297-337},
year = {2008},
month = {06},
issn = {0001-5180},
doi = {10.1159/000140715},
url = {https://doi.org/10.1159/000140715},
eprint = {https://karger.com/aan/article-pdf/14/4/297/2113559/000140715.pdf},
}
@book{pandol2011,
title = {The Exocrine Pancreas},
author = {Pandol, Stephen J.},
year = {2011},
doi = {https://doi.org/10.4199/C00026ED1V01Y201102ISP014},
publisher = {Morgan & Claypool}
}

View File

@ -0,0 +1,31 @@
# Week 1 Vocabulary - Aidan Sharpe
## Independent Variable
The independent variable in an experiment is variable being manipulated by the experimenter.
## Dependent Variable
The dependent variable in an experiment is the variable being measured by the experimenter.
## Standardized Variable
Standardized variables in an experiment are the variables that are held constant.
## Control Group
The baseline (default case) for the independent variable.
## Experimental Group
The set of all tests where the independent variable is changed.
## Hypothesis
An educated prediction about how changing the independent variable will affect the dependent variable.
## Qualitative
Measurements or observations that are strictly descriptive or categorical in nature and do not include numerical information.
## Quantitative
Measurements or observations that include numerical information.
## Inference
Using trends to make predictions.
## Observation
Any measurement qualitative or quantitative in nature.

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,34 @@
---
title: BIOL01113 Pre-Lab Project 10
author: Aidan Sharpe
date: April 7th 2025
geometry: margin=1in
---
# Male Reproductive System
![](./Male.jpg)
1. Urine Bladder
2. Pubic Bone
3. Vas Deferens
4. Urethra
5. Erectile Tissue
6. Penis
7. Seminal Vesicle
8. Prostate Gland
9. Anus
10. Epididymis
11. Scrotum
12. Testis
# Female Reproductive System
![](./Female.jpg)
1. Ovary
2. Fallopian Tubes
3. Uterus
4. Urine Bladder
5. Urethra
6. Vagina
7. Cervix
8. Rectum

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 11
author: Aidan Sharpe
date: April 14th, 2025
geometry: margin=1in
---
## Chromatin
A network of fine threads comprised of DNA and proeins.
## Semiconservative replication
The synthesis of new DNA where half of each new strand of DNA is from the original strand.
## DNA polymerase
An enzyme responsible for the positioning and joining of new nucleotides onto a template strand of DNA.
## Homologous chromosomes
Two chromosomes that code for the same traits.
## Diploid
A cell containing two sets of chromosomes
## Mitosis
A type of cell division that produces diploid daughter cells
## Cell cycle
The repeating process of interphase, mitosis, and cytokinesis.
## Gametogenesis
The production of new gametes (sperm and oocytes).
## Meiosis
A type of cell division that produces haploid daughter cells
## Haploid
A cell containing only one set of chromosomes

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 12
author: Aidan Sharpe
date: April 21st, 2025
geometry: margin=1in
---
### Allele
Variations in a gene.
### Gene
A unit of heredity existing as alleles on chromosomes.
### Phenotype
The physical apperance of a trait.
### Genotype
The genes of an individual coding for a particular trait or set of traits.
### Dominant Allele
An allele that exerts its phenotypic effect whenever it is present.
### Recessive Allele
An allele that is masked by and therefore requires the absense of a dominant allele to present its phenotypic effect.
### Homozygous
Posessing two of the same allele.
### Heterozygous
Posessing two different alleles.
### Punnett Square
A table of expected results from simple genetic crosses.
### Law of Segregation
During the formation of gametes, the two alleles segregate such that each gamete only recieves one allele.

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 13
author: Aidan Sharpe
date: April 28th, 2025
geometry: margin=1in
---
#### Nucleotides
Organic molecules composed of a nitrogenous base, a pentose sugar and a phosphate.
#### Complimentary bases
A relationship between two DNA bases, each following the lock-and-key principle
#### Helix
The shape of a cylindrical coil.
#### DNA template
The original, now separated, strands of DNA that new nucleotides pair to.
#### DNA polymerase
A family of enzymes that catalyze the synthesis of DNA molecules from nucleoside triphosphates, the molecular precursors of DNA.
#### Ribose
A simple sugar and carbohydrate, a component of the ribonucleotides from which RNA is built.
#### RNA polymerase
An enzyme that catalyzes the chemical reactions that synthesize RNA from a DNA template.
#### mRNA
A single-stranded molecule of RNA that corresponds to the genetic sequence of a gene, and is read by a ribosome in the process of synthesizing a protein.
#### rRNA
A type of non-coding RNA which is the primary component of ribosomes.
#### tRNA
An adaptor molecule composed of RNA, that provides the physical link between the genetic code in messenger RNA (mRNA) and the amino acid sequence of proteins, carrying the correct sequence of amino acids to be combined by the protein-synthesizing machinery, the ribosome.

View File

@ -0,0 +1,31 @@
# BIOL 01113 Vocab 2 - Aidan Sharpe
### Solution
A solution is the result of one or more solutes dissolving into a solvent. For example, salt can be dissolved into water to create a salt water solution.
### Solute
A solute is a compound that can be dissolved. For example, in salt water, salt is the solute.
### Solvent
A solvent is a compound that can dissolve other compounds. For example, in salt water, water is the solvent.
### Hydrogen bonds
Hydrogen bonds are a type of weak inter-molecular bond that occurs in polar molecules, where the hydrogen has a slight positive charge.
### Hydrophilic
A type of material that water is attracted (sticks) to.
### Hydrophobic
A type of material that repells water.
### Acid
A compound with a low pH (<7 at standard temperature) that has a high concentration of hydrogen ions (H$^+$).
### Base
A compound with a high pH (>7 at standard temperature) that has a low concentration of hydrogen ions (H$^+$).
### pH
The pH is a logarithmic scale that measures the acidity or basicity of a compound. The lower the pH, the more acidic. The higher the pH, the more basic.
### Buffer
A substance that resists change in some quantifiable property such as temperature or pH.

View File

@ -0,0 +1,37 @@
---
title: Vocabulary Assignment 3
author: Aidan Sharpe
date: February 20th, 2025
geometry: margin=1in
---
## Atoms
An atom is the smallest elemental particle that retains it's chemical properties.
## Molecules
Two or more atoms chemically bonded, creating a new material with unique chemical properties.
## Organelles
Functional structures within biological cells.
## Cells
The smallest functional unit of life.
## Tissues
A structure comprised of cells of the same type that performs a specific function.
## Organs
A structure comprised of tissues that fulfill a task within an organ system.
## Organ systems
A collection of organs that perform a similar task.
## Body membranes
A biological barrier that lines organs and cavities.
## Interstitial fluids
Bodily fluids that exist between, as opposed to within, cells.
## Homeostasis
The tendency for living organisms to maintain a stable internal environment.

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -0,0 +1,35 @@
---
title: BIOL01113 Vocabulary Assignment 4
author: Aidan Sharpe
geometry: margin=1in
---
# Atrium
A chamber in the heart that receives blood from veins.
# Ventricle
A chamber in the heart that pumps blood into arteries.
# Artery
A large blood vessel that carries blood away from the heart.
# Vein
A large blood vessel that carries blood towards the heart.
# Capillary
A narrow blood vessel that carries blood to and from individual cells.
# Systemic circuit
The main cardiovascular circuit that transports blood to and from most of the body.
# Pulmonary circuit
The cardiovascular circuit that transports blood to and from the lungs.
# Erythrocytes
Cells that are specialized to transport oxygen and carbon dioxide.
# Leucocytes
Immune cells also known as white blood cells.
# Platelets
One of the major components of blood responsible for creating clots and stopping bleeding.

View File

@ -0,0 +1,10 @@
---
title: Pre-Lab Project 5
author: Aidan Sharpe
date: February 24th, 2025
geometry: margin=1in
---
The video "Blood" discusses the cellular composition of blood. Most numerous are the red blood cells, which are red in color and have no nucleus. They have a bi-concave disk shape, which causes them to appear paler in the middle when looking at them through a microscope. This shape helps them fold onto themselves to fit into narrow capillaries.
Blood pressure is lower in capillaries than in arteries, with much higher friction. How is blood able to flow through such narrow tubes?

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocab 5
author: Aidan Sharpe
date: February 24th, 2025
geometry: margin=1in
---
# Lymph Vessels
Lymphatic system structures that transport interstitial fluid called lymph.
# Lymph Nodes
Lymphatic system structures that collect and disinfect lymph.
# Spleen
A large secondary lymphatic organ responsible for storing and purifying blood.
# Thymus
A primary lymphatic organ responsible for maturing T cells and stimulates immune cells.
# B Cells
A type of immune cell responsible for antibody-mediated immunity, which targets free antigens present in bodily fluids.
# T Cells
A type of immune cell responsible for cell-mediated immunity, meaning any cells with a detected antigen are destroyed.
# Inflammation
An immune response that employs neutrophils and macrophages to surround and kill pathogens.
# Complement
A series of proteins in plasma that form a non-specific defense mechanism that complements the antibody response.
# Antibody
A protein produced in response to a specific antigen.
# Clonal Selection
Since B-cell receptors (BCRs) only bind one specific type of antigen, B cells produce multiple identical copies of themselves to create more cells that can bind to the same antigen.

View File

@ -0,0 +1,9 @@
# Pre-Lab Project 6
A key concept from the video "mRNA Vaccines" is how mRNA style vaccines differ from traditional vaccines. While traditional vaccines can take years to develop, mRNA vaccines are quick to develop.
Traditional vaccines inject a weakened version of the actual virus, while mRNA vaccines only inject messenger RNA (mRNA). mRNA makes the body produce a small part of the virus instead of the whole virus. This way, the immune system can learn about the specific antigen and create corresponding antibodies.
Since traditional vaccines inject actual viruses or virus fragments, a full immune response can be triggered, causing an array of side effects. With mRNA vaccines, on the other hand, side-effects are minimized.
My question is why do the mRNA induced antigens not cause an immune response with side-effects?

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 6
author: Aidan Sharpe
date: March 3rd, 2025
geometry: margin=1in
---
### Pathogen
Any disease-causing agent (virus, bacterium, prions).
### Virus
Non-cellular parasites made of organic molecules and nucleic acid. They bridge the gap between the living and non-living.
### Bacterium
Single-celled prokaryotes (cells without nuclei or any membrane-bound organelle).
### Infection
The invasion and disease of tissues in a host organism by a pathogen.
### Virulence
A measure of the disease-causing capability of a pathogen.
### Epidemic
An outbreak of a disease with higher-than average cases that is constrained to a specific region.
### Pandemic
An epidemic that spans many or all regions.
### Emerging Disease
A disease in a population for the first time.
### Antibiotic
A chemical substance that kills or stops the growth of bacteria.
### Antibiotic Resistance
A trait associated with some pathogens that allow it to survive in the presence of antibiotics.

View File

@ -0,0 +1,13 @@
Video "Lung Function"
### 4 volumes:
- Tidal volume: 500-750ml and is the amount of air normally breathed in and out
- Inspiratory reserve volume: The difference in the total volume of air inspired with maximum inspiratory effort compared to the tidal volume. Typically about 3L.
- Expiratory reserve volume: The amount of air that can be exhaled in addition to the tidal volume. Typically about 1.5L.
- Residual volume: The amount of air remaining in the lungs after maximum expiratory effort. Typically about 1L.
### Lung capacities:
- Total lung capacity: the sum of the four lung volumes (about 6L).
### Question:
Why can we not breathe out all the air in our lungs?

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 7
author: Aidan Sharpe
date: March 10th, 2025
geometry: margin=1in
---
### Nasopharynx
Where the nasal cavity opens above the soft palate.
### Epiglottis
A structure that covers the opening to the voice box while swallowing.
### Trachea
Another word for the windpipe that connects the upper respiratory tract to the primary bronchi.
### Bronchus
The largest tubes within the lungs, branching from the trachea into the bronchioles.
### Bronchial tree
The branching structure of the bronchi and bronchioles.
### Alveoli
Air sacs where oxygen and carbon dioxide are exchanged between the lungs and pulmonary capillaries.
### Partial pressure
The amount of pressure exerted by an individual gas within a gas mixture.
### Gas exchange
The movement of gas between the alveoli and the blood in the pulmonary capillaries.
### Breathing
The process of inhaling and exhaling.
### Ventilation
The process of moving air in and out of the lungs.

View File

@ -0,0 +1,3 @@
A key concept from the video "The Action Potential" is how an impulse travels down an axon within a neuron. Initially, the voltage across the membrane is about -70mV. The impulse begins when potassium ions begin to leave the axon, and sodium ions enter. Then, once the potential approaches -55mV, sodium voltage gated channel open up, allowing sodium ions to rush into the axon, causing depolarization. As the voltage reaches 30mV, the sodium channels close and potassium voltage gated channels open. The potassium voltage-gated channels allow potassium ions to rush out of the cell, initiating repolarization. Importantly, for the signal to travel along the axon, the depolarization of one section initiates the depolarization of the next section in one direction.
Once the sodium ions enter the cell and the potassium ions leave, how does the system reset to its initial state?

View File

@ -0,0 +1,36 @@
---
title: BIOL01113 Vocabulary Assignment 8
author: Aidan Sharpe
date: March 17th, 2025
geometry: margin=1in
---
# Ingestion
The act of taking in food.
# Mechanical Digestion
Breaking down food with mechanical force (chewing).
# Chemical Digestion
Breaking down food with chemicals.
# Absorption
The movement of a substance into a cell or through a membrane.
# Esophagus
The tube that transports food from the mouth to the stomach.
# Stomach
A sac-like organ that mixes food and gastric juices to perform chemical digestion.
# Small Intestines
The longer of the two intestines, responsible for absorbing most nutrients.
# Colon
The long tube structure of the large intestine, responsible for absorbing water.
# Accessory Organs
The accessory organs to the digestive system are pancreas, gallbladder, and liver, which are responsible for producing enzymes and chemicals to aid in metabolism.
# Microbiome
The collection of microbes living in the digestive tract that aid in the digestion process.

View File

@ -0,0 +1,30 @@
---
title: BIOL01113 Pre-Lab Project 9
author: Aidan Sharpe
date: March 31st, 2025
geometry: margin=1in
---
# External
1. Sclera
2. Cornea
3. Optic nerve
4. Adipose (fat)
![Cow Eye External](./cow eye external.jpg)
# Front
5. Ciliary body
6. Iris
7. Pupil
8. Lens
![Cow Eye Front](./cow eye front.jpg)
# Back
9. Sclera
10. Choroid
11. Optic disc
![Cow Eye Back](./cow eye back.jpg)

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -0,0 +1,33 @@
---
title: BIOL01113 Vocabulary Assignment 9
author: Aidan Sharpe
date: March 31st, 2025
geometry: margin=1in
---
## Reception
The detection of a stimulus by receptor cells.
## Sensation
Perception of a stimulus by the cerebral cortex.
## Proprioception
The detection of the stretching of tendons and movement of ligaments.
## Olfactory
Having to do with the reception of smell.
## Gustatory
Having to do with the reception of taste.
## Auditory
Having to do with the reception of sound.
## Tactile
Having to do with mechanical reception, typically by cutaneous receptors.
## Retina
The inner most layer of eye cells, responsible for sensing light.
## Cochlear Membrane
The membrane responsible for the reception of sound.

View File

@ -0,0 +1,14 @@
---
title: Interview Experience
author: Aidan Sharpe
date: February 17th, 2025
geometry: margin=1in
---
I have found that there is only so much you can do to prepare for a technical interview, at least in the short term. Of course, maintaining fundamentals is always helpful. When it comes to behavioral interviews, there is much more preparation work to be done. In behavioral interviews, the most important aspect is simply raw interview skills, and the best way to get good at interviewing is through practice. When I was preparing for interviews this Fall, I asked my Aunt, who conducts behavioral interviews as part of her job, if we could set up a mock interview, and she happily agreed. Importantly, at the end, I asked for feedback and took notes.
In addition to being prepared for the act of interviewing, it is important to come in knowledgeable about the position you are interviewing for. For example, when I was interviewing for a job at SpaceX, I researched the different projects associated with that job. Fortunately, with SpaceX being a company in the public spotlight, there were multiple Wikipedia articles about the projects that proved to be valuable resources.
When it actually came to the beavioral interviews, I was glad that I did my research, because it helped me answer questions like "why do you want to work here?" and "what skills do you think you can bring to this role?" with details more specific to the company and role.
When it comes to technical interviews, however, it is important to take your time and carefully explain your thought process. Most of the time, as long as you have sound reasoning and show significant understanding, it does not matter if you get the exact correct answer.

View File

@ -0,0 +1,25 @@
---
title: What's Your Superpower
author: Aidan Sharpe
date: February 3rd, 2025
geometry: margin=1in
---
## Electrical Engineering
| Skill | Proficiency | Experience | Potential Clients | Common |
|--------------|-------------|----------------------|---------------------|--------|
| PCB Design | 4/5 | Internship, clinic project, classwork | Clinics designing a PCB | 1/10 |
| Electronic Component Selection | 4/5 | Internship, clinic project | Clinics designing a PCB | 1/10 |
| Electronic Design Review | 4/5 | Clinic project | Clinics designing a PCB | 1/10 |
## Software Development
| Skill | Proficiency | Experience | Potential Clients | Common |
|------------|-------------|----------------|------------------------------|--------|
| Python Programming | 5/5 | Clinic project, classwork | Lab Assistant for DSP or ECOMMS | 2/10 |
| C Programming | 4/5 | Clinic project, classwork | Lab Assistant for Embedded Systems. Clinics designing an embedded system. | 1/10 |
## Interpersonal Skills
| Skill | Proficiency | Experience | Potential Clients | Common |
|-----------------|-------------|-----------------|-------------------|--------|
| Teaching | 4/5 | IEEE workshops, sailing coach, clinic project | Lab assistant | 4/10 |
| Team Management | 4/5 | Sailing coach, clinic project | | 4/10 |

View File

@ -0,0 +1,9 @@
Assesment is not a constraint, as it does not prevent me from reaching design requirements.
Potentially constrained by the quality of data in the database
Constrained by the efficacy of static filters
Try to fit Gantt chart on one page
Extra Gantt chart week at end?

View File

@ -0,0 +1,21 @@
def letter_grade(number_grade):
if number_grade >= 90:
return 'A'
elif number_grade >= 80:
return 'B'
elif number_grade >= 70:
return 'C'
elif number_grade >= 60:
return 'D'
return 'F'
def main():
#print("Hello, world")
num_grade = 65
let_grade = letter_grade(num_grade)
print(let_grade)
if __name__ == "__main__":
main()

View File

@ -0,0 +1,18 @@
import numpy as np
import matplotlib.pyplot as plt
def main():
f_s = 48
T_s = 1/f_s
t = np.arange(-1, 1, T_s)
f = 3
omega = 2*np.pi*f
signal = np.cos(omega*t)
plt.stem(t, signal)
plt.show()
if __name__ == "__main__":
main()

View File

@ -0,0 +1,33 @@
import numpy as np
import matplotlib.pyplot as plt
def add_gaussian_noise(image, stddev):
# Add Gaussian noise to the image
noisy_image = image + np.random.normal(0, stddev, image.shape)
# Ensure data stays between 0 and 255
noisy_image = np.clip(noisy_image, 0, 255)
return noisy_image
def add_salt_pepper(image, amount, s_vs_p=0.5):
# Figure out the amount of salt and pepper desired
salt_amount = amount * s_vs_p
pepper_amount = amount * (1-s_vs_p)
# Calculate the thresholds required to snap to 0 or 255
salt_threshold = 255*(1-salt_amount)
pepper_threshold = 255*pepper_amount
# Create random linear noise between 0 and 255
spots = np.random.randint(0, 255+1, image.shape)
# Snap to 255 if above the salt threshold
salted_image = np.where(spots > salt_threshold, 255, image)
# Snap to 0 if below the pepper threshold
peppered_image = np.where(spots < pepper_threshold, 0, salted_image)
return peppered_image

View File

@ -0,0 +1,39 @@
The ORL face database
---------------------
This directory contains a set of faces taken between April 1992 and
April 1994 at the Olivetti Research Laboratory in Cambridge, UK.
There are 10 different images of 40 distinct subjects. For some of the
subjects, the images were taken at different times, varying lighting
slightly, facial expressions (open/closed eyes, smiling/non-smiling)
and facial details (glasses/no-glasses). All the images are taken
against a dark homogeneous background and the subjects are in
up-right, frontal position (with tolerance for some side movement).
The files are in PGM format and can be conveniently viewed using the 'xv'
program. The size of each image is 92x112, 8-bit grey levels. The images
are organised in 40 directories (one for each subject) named as:
sX
where X indicates the subject number (between 1 and 40). In each directory
there are 10 different images of the selected subject named as:
Y.pgm
where Y indicates which image for the specific subject (between 1 and 10).
When using these images, please give credit to Olivetti Research Laboratory.
A convenient reference is the face recognition work which uses some of
these images:
F. Samaria and A. Harter
"Parameterisation of a stochastic model for human face identification"
2nd IEEE Workshop on Applications of Computer Vision
December 1994, Sarasota (Florida).
The paper is available via anonymous ftp from quince.cam-orl.co.uk and is
stored in pub/users/fs/IEEE_workshop.ps.Z
If you have any question, please email Ferdinando Samaria: fs@cam-orl.co.uk

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More