0% found this document useful (0 votes)
5 views4 pages

Program 3

The document outlines three tasks for creating scientific workflows using Python. The first task involves generating numerical data, performing a transformation, and saving the output, while the second task focuses on reading data from a file, computing statistics, and displaying results. The third task requires generating simulation data, visualizing it, and saving the visualization, with additional instructions for checking file existence and viewing images.

Uploaded by

ammarali1306
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

Program 3

The document outlines three tasks for creating scientific workflows using Python. The first task involves generating numerical data, performing a transformation, and saving the output, while the second task focuses on reading data from a file, computing statistics, and displaying results. The third task requires generating simulation data, visualizing it, and saving the visualization, with additional instructions for checking file existence and viewing images.

Uploaded by

ammarali1306
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROGRAM 3

CREATING SCIENTIFIC WORKFLOWS


a) Create a simple scientific workflow that:
1. Generates numerical data
2. Performs a mathematical transformation
3. Saves the processed output to a file

This command opens a file where we type the python code

Enter the file name at the bottom of the screen and click on enter
Click Ctrl + x
Type the command python3 [Link]

b) Design a scientific workflow that:


1. Reads numerical data from a file
2. Computes statistical measures
3. Displays the results
c) Create a scientific workflow that:
1. Generates simulation data
2. Visualizes the results
3. Saves the visualization to a file

Check if the file exists or not

To view the image run below command


sudo apt install eog -y

You might also like