What do you mean delete? Set to zero or NaN? You want an (N-1) dimensional
array of all the acceptable values from the N dimensional array?
Elliot
On Oct 8, 2016 5:11 PM, "Xristos Xristoou" wrote:
> any idea how to delete pixel from the raster image with
> specific range
On Sat, Oct 8, 2016 at 3:18 PM, Krisztián Horváth wrote:
>
>
>
>> but then that violates the numpy
>> principle that output dtypes should be determined entirely by input
>> dtypes, without peeking at the actual values. (And this rule is very
>> important for avoiding nasty
but then that violates the numpy
> principle that output dtypes should be determined entirely by input
> dtypes, without peeking at the actual values. (And this rule is very
> important for avoiding nasty surprises when you run your code on new
> inputs.)
>
At division you get back an array of
any idea how to delete pixel from the raster image with
specific range value using numpy/scipy or gdal?
for example i have a raster image with the
5 class :
1. 0-100
2. 100-200
3. 200-300
4. 300-500
5. 500-1000
and i want to delete class 1 range value
or maybe i want to delete class 1,2,4,5 if
On Sat, Oct 8, 2016 at 1:40 PM, V. Armando Sole wrote:
> Well, testing under windows 64 bit, Python 3.5.2, positive powers of
> integers give integers and negative powers of integers give floats. So, do
> you want to raise an exception when taking a negative power of an element of
>
Well, testing under windows 64 bit, Python 3.5.2, positive powers of
integers give integers and negative powers of integers give floats. So,
do you want to raise an exception when taking a negative power of an
element of an array of integers? Because not doing so would be
inconsistent with
Sorry, I was not clear enough. I meant that the second option (always
float) would be more coherent with Python3.
On Oct 8, 2016 9:36 PM, "Charles R Harris"
wrote:
On Sat, Oct 8, 2016 at 1:31 PM, Krisztián Horváth
wrote:
> Hello,
>
> I think
On Sat, Oct 8, 2016 at 1:31 PM, Krisztián Horváth
wrote:
> Hello,
>
> I think it should be consistent with Python3. So, it should give back a
> float.
>
> Best regards,
> Krisztian
>
>
Can't do that and also return integers for positive powers. It isn't
possible to have
Hello,
I think it should be consistent with Python3. So, it should give back a
float.
Best regards,
Krisztian
On Sat, Oct 8, 2016 at 3:12 AM, Charles R Harris
wrote:
> Hi All,
>
> The time for NumPy 1.12.0 approaches and I like to have a final decision
> on the
On Sat, Oct 8, 2016 at 9:12 AM, Nathaniel Smith wrote:
> On Sat, Oct 8, 2016 at 6:59 AM, Charles R Harris
> wrote:
> >
> >
> > On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
> >>
> >> On Fri, Oct 7, 2016 at 6:12 PM, Charles R
On Sat, Oct 8, 2016 at 6:59 AM, Charles R Harris
wrote:
>
>
> On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
>>
>> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
>> wrote:
>> > Hi All,
>> >
>> > The time for NumPy
On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
> wrote:
> > Hi All,
> >
> > The time for NumPy 1.12.0 approaches and I like to have a final decision
> on
> > the treatment of integers to
On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
wrote:
> Hi All,
>
> The time for NumPy 1.12.0 approaches and I like to have a final decision on
> the treatment of integers to negative integer powers with the `**` operator.
> The two alternatives looked to be
>
> Raise
13 matches
Mail list logo