478 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
112
views
How to use Boundaries with multiple parts in multipartform data using Swift and URLSession
I am following various examples in this question to try to upload 2 things together in a multipart form request in Swift--a file and some JSON about the file. I am able to upload the file but the ...
0
votes
0
answers
19
views
Isolate or no-flux boudnary condition in fftw code
I am working with a C programming code in 2D implemented with spectral method fftw3 package which by default considers periodic boundary condition. The code works with a single index ij = i*nx + j.
...
0
votes
0
answers
47
views
Overlay boundary behavior
I'd like to use the overlayment package in Flutter to create a dragable "MDI" style window. This seems simple enough and the package even has a demo available for this exact use case.
...
0
votes
1
answer
64
views
Overlap Removal with Bounding Interval
I have a list of Intervals and a second interval which is used to bound the other intervals.
For example:
[[4,7],[5,7]]
bounded by [0,10]
I need an algorithm, which is able to shift the intervals of ...
1
vote
2
answers
127
views
Simple 1 D dispersion equation numerical solution
I am new to coding and trying to solve a simple 1D dispersion equation.
The equation and boundary conditions:
adC/dx = bd^2C/dx^2
x = hj, C = C0; x = - inf, C =0
The analytical solution is
C = C0 * ...
1
vote
0
answers
25
views
Find aggregate boundary of CT scan image using MATLAB
I have a CT scan image as show here Original image, I want to separate these phases into aggregates (gray color) and voids (black color). I try do to with MATLAB adaptivethreshold and bwbinary, ...
1
vote
1
answer
269
views
Seeking Solutions for Disabling the Guardian Boundary in MR Games on Quest 3
We're currently developing a mixed-reality (MR) game for the Oculus Quest 3, which involves physical movement within a real-world space. To enhance immersion, we utilize the passthrough feature ...
1
vote
0
answers
262
views
IDW Interpolation of point rainfall data using Python
I am trying to plot the interpolation maps in Python for the point rainfall data. I have given the shapefile of the study area as my extent boundary for the interpolation, however, the code only gives ...
1
vote
1
answer
506
views
Find a concave hull of an array of integer points on a grid
I have arrays of thousands of points on an integer grid. I'm looking for a fast way of finding a concave hull for the points. Points are adjacent if they are 1 unit away in any cardinal direction. I ...
1
vote
1
answer
194
views
Lower and Upper bound in postgresql
We have column A with values 10,20,30 etc and column B with values as 6,12,18,24,etc.Both columns are different in 2 different tables.I want to calculate the upper and low bound for values in col A.
e....
0
votes
0
answers
125
views
solve pde with BC in python
I have this partial differential equation ut=0; with this boundary condition: u(x,0)=x
and I want to solve it with pdsolve in python
from sympy import *
from sympy.abc import x, t # x and y are the ...
0
votes
0
answers
57
views
Pyspark Window using dates as boundary
I have a challenge in pyspark and I haven't really been able to find a good solution so far.
I need to sum values of six months for each line.
E.g.
Lets assume I have this:
ID
DATE
VALUE
1
2023年04月17日
...
-2
votes
1
answer
38
views
f=sym('f',[1 4]) q=zeros(1,4) for i=0:3 f(1,i+1) = (@(x)(exp(-x).*(x.^0.5).*x.*laguerreL(i,0.5,x))) %g(1,i+1)=quadgk(f(1,i+1),0,1) end
what is the problem of this code?
please discribe the problem for me
f=sym('f',[1 4]) q=zeros(1,4) for i=0:3 f(1,i+1) = (@(x)(exp(-x).*(x.^0.5).*x.*laguerreL(i,0.5,x))) %g(1,i+1)=quadgk(f(1,i+1),0,1) ...
0
votes
1
answer
792
views
How can I plot a colormap with discrete intervals in xarray and avoid Error Passing a Normalize instance simultaneously with vmin/vmax not supported
I want to get a plot a colormap with discrete intervals, each interval associated to a color. My dataset is in xarray and works well. I tried the code below but I get the following error. I tried with ...
1
vote
1
answer
790
views
How to write the constraints for scipy SLSQP properly
I am trying to write an optimization code with constraints using SLSQP method. But I can't understand it enough to write the proper codes for constraints.
Lets say we have a function f, with p ...