Recent content by Atr cheema
-
A
Convert solar radiation from Joule per cm square to Watt per meter^2?
I have solar radiation data in the units of Joule per cm^2 (joule per square centimeter) measured hourly. I want to use this data in evapotranspiratin calculation which requires radiation units as Watt per meter squared. How can I do this conversion?- Atr cheema
- Thread
- Convert Joule Per Radiation Solar Solar radiation Square Unit conversion Watt
- Replies: 1
- Forum: Electromagnetism
-
A
Python Visual Python Pendulum: Solving the Forces
In the following example, there are three time series and I want to predict another time series y which is a function of the three. How can I use four inputs to predict the time series where the fourth input is the output at previous time step? import tensorflow as tf import numpy as np...- Atr cheema
- Post #6
- Forum: Programming and Computer Science
-
A
Python How to get output from a layer during training in Keras?
Can you implement this for this example code? Thanks.- Atr cheema
- Post #6
- Forum: Programming and Computer Science
-
A
Python How to get output from a layer during training in Keras?
All the answers in that post provide the way to get output once the training is finished but I want the output during the training process simultaneously. This might require some modification in model.fit method in training.py file but I am unable to find a solution so far. Can you tell me which...- Atr cheema
- Post #3
- Forum: Programming and Computer Science
-
A
Python How to get output from a layer during training in Keras?
In Keras, the method model.fit() is used to train the neural network. How can I get the output from any hidden layer during training? Consider following code where neural network is trained to add two time series #multivariate data preparation #multivariate multiple input cnn example from numpy...- Atr cheema
- Thread
- Machine learning Output Python
- Replies: 7
- Forum: Programming and Computer Science
-
A
Python How to get pixel value from a color map?
I want to get mass values at those individual points on the plot.- Atr cheema
- Post #3
- Forum: Programming and Computer Science
-
A
Python How to get pixel value from a color map?
I have a python code where it generates two 1D arrays, plots them using scatter plot and then draws colorbar using normalization range. How can I find individual values at those individual pixel points? HC = data["HC"] OC = data["OC"] sample = y widthmm, heightmm = 171, 233 ratio =...- Atr cheema
- Thread
- Color Computer vision Map Pixel Plot Value
- Replies: 2
- Forum: Programming and Computer Science
-
A
Fortran Print correct value of Real number with gfortran?
Thank you @FactChecker and @Hugh McCutchen . The correct answer is indeed obtained by defining B=2.42D0. I want to ask now that this code snippet is part of large code and I wanted to check value of C (RWTSED in first post), while A (VOSED in post #1) and B (RHOMN in post #1) are already...- Atr cheema
- Post #12
- Forum: Programming and Computer Science
-
A
Fortran Print correct value of Real number with gfortran?
I applied your suggestions but still unable to get the result what I get from calculator.. program inpdat c IMPLICIT NONE DOUBLE PRECISION A,B,C,C1,C2 C REAL A,B,C,C1 2000 FORMAT (' ',3F40.15) 2001 FORMAT (' ',F40.10) A = 17424.0 B = 2.42...- Atr cheema
- Post #7
- Forum: Programming and Computer Science
-
A
Fortran Print correct value of Real number with gfortran?
Thank you for the reply. I have understood that the problem is related to precision to which real number is represented by floating point number. I changed the variable definition from REAL to DOUBLE PRECISION, and I get the answer program inpdat IMPLICIT NONE DOUBLE...- Atr cheema
- Post #5
- Forum: Programming and Computer Science
-
A
Fortran Print correct value of Real number with gfortran?
How can you get 17424*2.42*1e6 = 42166083584.00000?? It is 42166080000 indeed!- Atr cheema
- Post #3
- Forum: Programming and Computer Science
-
A
Fortran Print correct value of Real number with gfortran?
The following program is printing wrong value of RWTSED. How can I print correct value?? program inpdat c IMPLICIT NONE REAL RHOMN,RWTSED,VOLSED VOLSED = 17424.0 RHOMN = 2.42 !0000076293945 RWTSED= VOLSED*RHOMN*1.0E6 2000 FORMAT(/,3F40.5)...- Atr cheema
- Thread
- Fortran77 Gfortran Precision Real numbers Value
- Replies: 13
- Forum: Programming and Computer Science
-
A
Undergrad How to find a solution to this linear ODE?
A, K and H are constand and ##\alpha## comes from Fourier transform.- Atr cheema
- Post #3
- Forum: Differential Equations
-
A
Undergrad How to find a solution to this linear ODE?
I want to find solution to following ODE $$ \frac{d \bar h}{dt} + \frac{K}{S_s} \alpha^2 \bar h = -\frac{K}{S_s} \alpha H h_b(t) $$ I have solved it with integrating factor method with ## I=\exp^{\int \frac{1}{D} \alpha^2 dt} ## as integrating factor and ##\frac{K}{S_s} = \frac{1}{D} ## I have...- Atr cheema
- Thread
- Differential eqautions Linear Ode Ordinary differential equation
- Replies: 4
- Forum: Differential Equations
-
A
Graduate Fourier Transform for 3rd kind of boundary conditions?
I am studying online course notes from University of Waterloo on 'Analytical mathematics in geology' in which the author describes a 'modified Fourier transform' which can be used to incorporate 3rd kind of boundary conditions. The formula is ## \Gamma \small[ f(x) \small] = \bar{f}(a) =...- Atr cheema
- Thread
- Boundary Boundary conditions Conditions Fourier Fourier analysis Fourier transform Transform
- Replies: 1
- Forum: Differential Equations